arraylist.h | arraylist.h | |||
---|---|---|---|---|
skipping to change at line 52 | skipping to change at line 52 | |||
#define GEE_ARRAY_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GE E_TYPE_ARRAY_LIST, GeeArrayListClass)) | #define GEE_ARRAY_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GE E_TYPE_ARRAY_LIST, GeeArrayListClass)) | |||
typedef struct _GeeArrayList GeeArrayList; | typedef struct _GeeArrayList GeeArrayList; | |||
typedef struct _GeeArrayListClass GeeArrayListClass; | typedef struct _GeeArrayListClass GeeArrayListClass; | |||
typedef struct _GeeArrayListPrivate GeeArrayListPrivate; | typedef struct _GeeArrayListPrivate GeeArrayListPrivate; | |||
/** | /** | |||
* Arrays of arbitrary elements which grow automatically as elements are ad ded. | * Arrays of arbitrary elements which grow automatically as elements are ad ded. | |||
*/ | */ | |||
struct _GeeArrayList { | struct _GeeArrayList { | |||
GObject parent; | GObject parent_instance; | |||
GeeArrayListPrivate * priv; | GeeArrayListPrivate * priv; | |||
}; | }; | |||
struct _GeeArrayListClass { | struct _GeeArrayListClass { | |||
GObjectClass parent; | GObjectClass parent_class; | |||
}; | }; | |||
GeeArrayList* gee_array_list_new (GType g_type, GBoxedCopyFunc g_dup_func, GDestroyNotify g_destroy_func, GEqualFunc equal_func); | GeeArrayList* gee_array_list_new (GType g_type, GBoxedCopyFunc g_dup_func, GDestroyNotify g_destroy_func, GEqualFunc equal_func); | |||
void gee_array_list_set_equal_func (GeeArrayList* self, GEqualFunc value); | void gee_array_list_set_equal_func (GeeArrayList* self, GEqualFunc value); | |||
GType gee_array_list_get_type (void); | GType gee_array_list_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
collection.h | collection.h | |||
---|---|---|---|---|
skipping to change at line 45 | skipping to change at line 45 | |||
#define GEE_COLLECTION_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE (( obj), GEE_TYPE_COLLECTION, GeeCollectionIface)) | #define GEE_COLLECTION_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE (( obj), GEE_TYPE_COLLECTION, GeeCollectionIface)) | |||
typedef struct _GeeCollection GeeCollection; | typedef struct _GeeCollection GeeCollection; | |||
typedef struct _GeeCollectionIface GeeCollectionIface; | typedef struct _GeeCollectionIface GeeCollectionIface; | |||
/** | /** | |||
* Serves as the base interface for implementing collection classes. Define s | * Serves as the base interface for implementing collection classes. Define s | |||
* size, iteration, and modification methods. | * size, iteration, and modification methods. | |||
*/ | */ | |||
struct _GeeCollectionIface { | struct _GeeCollectionIface { | |||
GTypeInterface parent; | GTypeInterface parent_iface; | |||
gboolean (*contains) (GeeCollection* self, gconstpointer item); | gboolean (*contains) (GeeCollection* self, gconstpointer item); | |||
gboolean (*add) (GeeCollection* self, gconstpointer item); | gboolean (*add) (GeeCollection* self, gconstpointer item); | |||
gboolean (*remove) (GeeCollection* self, gconstpointer item); | gboolean (*remove) (GeeCollection* self, gconstpointer item); | |||
void (*clear) (GeeCollection* self); | void (*clear) (GeeCollection* self); | |||
}; | }; | |||
gboolean gee_collection_contains (GeeCollection* self, gconstpointer item); | gboolean gee_collection_contains (GeeCollection* self, gconstpointer item); | |||
gboolean gee_collection_add (GeeCollection* self, gconstpointer item); | gboolean gee_collection_add (GeeCollection* self, gconstpointer item); | |||
gboolean gee_collection_remove (GeeCollection* self, gconstpointer item); | gboolean gee_collection_remove (GeeCollection* self, gconstpointer item); | |||
void gee_collection_clear (GeeCollection* self); | void gee_collection_clear (GeeCollection* self); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
hashmap.h | hashmap.h | |||
---|---|---|---|---|
/* hashmap.vala | /* hashmap.vala | |||
* | * | |||
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonal d | * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonal d | |||
* Copyright (C) 1997-2000 GLib Team and others | * Copyright (C) 1997-2000 GLib Team and others | |||
* Copyright (C) 2007 Jürg Billeter | * Copyright (C) 2007-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 53 | skipping to change at line 53 | |||
#define GEE_HASH_MAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEE_ TYPE_HASH_MAP, GeeHashMapClass)) | #define GEE_HASH_MAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEE_ TYPE_HASH_MAP, GeeHashMapClass)) | |||
typedef struct _GeeHashMap GeeHashMap; | typedef struct _GeeHashMap GeeHashMap; | |||
typedef struct _GeeHashMapClass GeeHashMapClass; | typedef struct _GeeHashMapClass GeeHashMapClass; | |||
typedef struct _GeeHashMapPrivate GeeHashMapPrivate; | typedef struct _GeeHashMapPrivate GeeHashMapPrivate; | |||
/** | /** | |||
* Hashtable implementation of the Map interface. | * Hashtable implementation of the Map interface. | |||
*/ | */ | |||
struct _GeeHashMap { | struct _GeeHashMap { | |||
GObject parent; | GObject parent_instance; | |||
GeeHashMapPrivate * priv; | GeeHashMapPrivate * priv; | |||
}; | }; | |||
struct _GeeHashMapClass { | struct _GeeHashMapClass { | |||
GObjectClass parent; | GObjectClass parent_class; | |||
}; | }; | |||
GeeHashMap* gee_hash_map_new (GType k_type, GBoxedCopyFunc k_dup_func, GDes troyNotify k_destroy_func, GType v_type, GBoxedCopyFunc v_dup_func, GDestro yNotify v_destroy_func, GHashFunc key_hash_func, GEqualFunc key_equal_func, GEqualFunc value_equal_func); | GeeHashMap* gee_hash_map_new (GType k_type, GBoxedCopyFunc k_dup_func, GDes troyNotify k_destroy_func, GType v_type, GBoxedCopyFunc v_dup_func, GDestro yNotify v_destroy_func, GHashFunc key_hash_func, GEqualFunc key_equal_func, GEqualFunc value_equal_func); | |||
void gee_hash_map_set_key_hash_func (GeeHashMap* self, GHashFunc value); | void gee_hash_map_set_key_hash_func (GeeHashMap* self, GHashFunc value); | |||
void gee_hash_map_set_key_equal_func (GeeHashMap* self, GEqualFunc value); | void gee_hash_map_set_key_equal_func (GeeHashMap* self, GEqualFunc value); | |||
void gee_hash_map_set_value_equal_func (GeeHashMap* self, GEqualFunc value) ; | void gee_hash_map_set_value_equal_func (GeeHashMap* self, GEqualFunc value) ; | |||
GType gee_hash_map_get_type (void); | GType gee_hash_map_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
hashset.h | hashset.h | |||
---|---|---|---|---|
skipping to change at line 52 | skipping to change at line 52 | |||
#define GEE_HASH_SET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEE_ TYPE_HASH_SET, GeeHashSetClass)) | #define GEE_HASH_SET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEE_ TYPE_HASH_SET, GeeHashSetClass)) | |||
typedef struct _GeeHashSet GeeHashSet; | typedef struct _GeeHashSet GeeHashSet; | |||
typedef struct _GeeHashSetClass GeeHashSetClass; | typedef struct _GeeHashSetClass GeeHashSetClass; | |||
typedef struct _GeeHashSetPrivate GeeHashSetPrivate; | typedef struct _GeeHashSetPrivate GeeHashSetPrivate; | |||
/** | /** | |||
* Hashtable implementation of the Set interface. | * Hashtable implementation of the Set interface. | |||
*/ | */ | |||
struct _GeeHashSet { | struct _GeeHashSet { | |||
GObject parent; | GObject parent_instance; | |||
GeeHashSetPrivate * priv; | GeeHashSetPrivate * priv; | |||
}; | }; | |||
struct _GeeHashSetClass { | struct _GeeHashSetClass { | |||
GObjectClass parent; | GObjectClass parent_class; | |||
}; | }; | |||
GeeHashSet* gee_hash_set_new (GType g_type, GBoxedCopyFunc g_dup_func, GDes troyNotify g_destroy_func, GHashFunc hash_func, GEqualFunc equal_func); | GeeHashSet* gee_hash_set_new (GType g_type, GBoxedCopyFunc g_dup_func, GDes troyNotify g_destroy_func, GHashFunc hash_func, GEqualFunc equal_func); | |||
void gee_hash_set_set_hash_func (GeeHashSet* self, GHashFunc value); | void gee_hash_set_set_hash_func (GeeHashSet* self, GHashFunc value); | |||
void gee_hash_set_set_equal_func (GeeHashSet* self, GEqualFunc value); | void gee_hash_set_set_equal_func (GeeHashSet* self, GEqualFunc value); | |||
GType gee_hash_set_get_type (void); | GType gee_hash_set_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
iterable.h | iterable.h | |||
---|---|---|---|---|
skipping to change at line 45 | skipping to change at line 45 | |||
#define GEE_ITERABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((ob j), GEE_TYPE_ITERABLE, GeeIterableIface)) | #define GEE_ITERABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((ob j), GEE_TYPE_ITERABLE, GeeIterableIface)) | |||
typedef struct _GeeIterable GeeIterable; | typedef struct _GeeIterable GeeIterable; | |||
typedef struct _GeeIterableIface GeeIterableIface; | typedef struct _GeeIterableIface GeeIterableIface; | |||
/** | /** | |||
* Implemented by classes that support a simple iteration over instances of the | * Implemented by classes that support a simple iteration over instances of the | |||
* collection. | * collection. | |||
*/ | */ | |||
struct _GeeIterableIface { | struct _GeeIterableIface { | |||
GTypeInterface parent; | GTypeInterface parent_iface; | |||
GeeIterator* (*iterator) (GeeIterable* self); | GeeIterator* (*iterator) (GeeIterable* self); | |||
}; | }; | |||
GeeIterator* gee_iterable_iterator (GeeIterable* self); | GeeIterator* gee_iterable_iterator (GeeIterable* self); | |||
GType gee_iterable_get_type (void); | GType gee_iterable_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
iterator.h | iterator.h | |||
---|---|---|---|---|
skipping to change at line 44 | skipping to change at line 44 | |||
#define GEE_ITERATOR_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((ob j), GEE_TYPE_ITERATOR, GeeIteratorIface)) | #define GEE_ITERATOR_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((ob j), GEE_TYPE_ITERATOR, GeeIteratorIface)) | |||
typedef struct _GeeIterator GeeIterator; | typedef struct _GeeIterator GeeIterator; | |||
typedef struct _GeeIteratorIface GeeIteratorIface; | typedef struct _GeeIteratorIface GeeIteratorIface; | |||
/** | /** | |||
* Implemented by classes that support a simple iteration over instances of the | * Implemented by classes that support a simple iteration over instances of the | |||
* collection. | * collection. | |||
*/ | */ | |||
struct _GeeIteratorIface { | struct _GeeIteratorIface { | |||
GTypeInterface parent; | GTypeInterface parent_iface; | |||
gboolean (*next) (GeeIterator* self); | gboolean (*next) (GeeIterator* self); | |||
gpointer (*get) (GeeIterator* self); | gpointer (*get) (GeeIterator* self); | |||
}; | }; | |||
gboolean gee_iterator_next (GeeIterator* self); | gboolean gee_iterator_next (GeeIterator* self); | |||
gpointer gee_iterator_get (GeeIterator* self); | gpointer gee_iterator_get (GeeIterator* self); | |||
GType gee_iterator_get_type (void); | GType gee_iterator_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
list.h | list.h | |||
---|---|---|---|---|
skipping to change at line 44 | skipping to change at line 44 | |||
#define GEE_IS_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEE_TYPE_LIST) ) | #define GEE_IS_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEE_TYPE_LIST) ) | |||
#define GEE_LIST_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GEE_TYPE_LIST, GeeListIface)) | #define GEE_LIST_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GEE_TYPE_LIST, GeeListIface)) | |||
typedef struct _GeeList GeeList; | typedef struct _GeeList GeeList; | |||
typedef struct _GeeListIface GeeListIface; | typedef struct _GeeListIface GeeListIface; | |||
/** | /** | |||
* Represents a collection of items in a well-defined order. | * Represents a collection of items in a well-defined order. | |||
*/ | */ | |||
struct _GeeListIface { | struct _GeeListIface { | |||
GTypeInterface parent; | GTypeInterface parent_iface; | |||
gpointer (*get) (GeeList* self, gint index); | gpointer (*get) (GeeList* self, gint index); | |||
void (*set) (GeeList* self, gint index, gconstpointer item); | void (*set) (GeeList* self, gint index, gconstpointer item); | |||
gint (*index_of) (GeeList* self, gconstpointer item); | gint (*index_of) (GeeList* self, gconstpointer item); | |||
void (*insert) (GeeList* self, gint index, gconstpointer item); | void (*insert) (GeeList* self, gint index, gconstpointer item); | |||
void (*remove_at) (GeeList* self, gint index); | void (*remove_at) (GeeList* self, gint index); | |||
}; | }; | |||
gpointer gee_list_get (GeeList* self, gint index); | gpointer gee_list_get (GeeList* self, gint index); | |||
void gee_list_set (GeeList* self, gint index, gconstpointer item); | void gee_list_set (GeeList* self, gint index, gconstpointer item); | |||
gint gee_list_index_of (GeeList* self, gconstpointer item); | gint gee_list_index_of (GeeList* self, gconstpointer item); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
map.h | map.h | |||
---|---|---|---|---|
skipping to change at line 45 | skipping to change at line 45 | |||
#define GEE_IS_MAP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEE_TYPE_MAP)) | #define GEE_IS_MAP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEE_TYPE_MAP)) | |||
#define GEE_MAP_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G EE_TYPE_MAP, GeeMapIface)) | #define GEE_MAP_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G EE_TYPE_MAP, GeeMapIface)) | |||
typedef struct _GeeMap GeeMap; | typedef struct _GeeMap GeeMap; | |||
typedef struct _GeeMapIface GeeMapIface; | typedef struct _GeeMapIface GeeMapIface; | |||
/** | /** | |||
* A map is a generic collection of key/value pairs. | * A map is a generic collection of key/value pairs. | |||
*/ | */ | |||
struct _GeeMapIface { | struct _GeeMapIface { | |||
GTypeInterface parent; | GTypeInterface parent_iface; | |||
GeeSet* (*get_keys) (GeeMap* self); | GeeSet* (*get_keys) (GeeMap* self); | |||
GeeCollection* (*get_values) (GeeMap* self); | GeeCollection* (*get_values) (GeeMap* self); | |||
gboolean (*contains) (GeeMap* self, gconstpointer key); | gboolean (*contains) (GeeMap* self, gconstpointer key); | |||
gpointer (*get) (GeeMap* self, gconstpointer key); | gpointer (*get) (GeeMap* self, gconstpointer key); | |||
void (*set) (GeeMap* self, gconstpointer key, gconstpointer value); | void (*set) (GeeMap* self, gconstpointer key, gconstpointer value); | |||
gboolean (*remove) (GeeMap* self, gconstpointer key); | gboolean (*remove) (GeeMap* self, gconstpointer key); | |||
void (*clear) (GeeMap* self); | void (*clear) (GeeMap* self); | |||
}; | }; | |||
GeeSet* gee_map_get_keys (GeeMap* self); | GeeSet* gee_map_get_keys (GeeMap* self); | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
readonlycollection.h | readonlycollection.h | |||
---|---|---|---|---|
skipping to change at line 49 | skipping to change at line 49 | |||
#define GEE_READ_ONLY_COLLECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEE_TYPE_READ_ONLY_COLLECTION, GeeReadOnlyCollectionClass)) | #define GEE_READ_ONLY_COLLECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEE_TYPE_READ_ONLY_COLLECTION, GeeReadOnlyCollectionClass)) | |||
typedef struct _GeeReadOnlyCollection GeeReadOnlyCollection; | typedef struct _GeeReadOnlyCollection GeeReadOnlyCollection; | |||
typedef struct _GeeReadOnlyCollectionClass GeeReadOnlyCollectionClass; | typedef struct _GeeReadOnlyCollectionClass GeeReadOnlyCollectionClass; | |||
typedef struct _GeeReadOnlyCollectionPrivate GeeReadOnlyCollectionPrivate; | typedef struct _GeeReadOnlyCollectionPrivate GeeReadOnlyCollectionPrivate; | |||
/** | /** | |||
* Represents a read-only collection of items. | * Represents a read-only collection of items. | |||
*/ | */ | |||
struct _GeeReadOnlyCollection { | struct _GeeReadOnlyCollection { | |||
GObject parent; | GObject parent_instance; | |||
GeeReadOnlyCollectionPrivate * priv; | GeeReadOnlyCollectionPrivate * priv; | |||
}; | }; | |||
struct _GeeReadOnlyCollectionClass { | struct _GeeReadOnlyCollectionClass { | |||
GObjectClass parent; | GObjectClass parent_class; | |||
}; | }; | |||
GeeReadOnlyCollection* gee_read_only_collection_new (GType g_type, GBoxedCo pyFunc g_dup_func, GDestroyNotify g_destroy_func, GeeCollection* collection ); | GeeReadOnlyCollection* gee_read_only_collection_new (GType g_type, GBoxedCo pyFunc g_dup_func, GDestroyNotify g_destroy_func, GeeCollection* collection ); | |||
void gee_read_only_collection_set_collection (GeeReadOnlyCollection* self, GeeCollection* value); | void gee_read_only_collection_set_collection (GeeReadOnlyCollection* self, GeeCollection* value); | |||
GType gee_read_only_collection_get_type (void); | GType gee_read_only_collection_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
readonlylist.h | readonlylist.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
#define GEE_READ_ONLY_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , GEE_TYPE_READ_ONLY_LIST, GeeReadOnlyListClass)) | #define GEE_READ_ONLY_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , GEE_TYPE_READ_ONLY_LIST, GeeReadOnlyListClass)) | |||
typedef struct _GeeReadOnlyList GeeReadOnlyList; | typedef struct _GeeReadOnlyList GeeReadOnlyList; | |||
typedef struct _GeeReadOnlyListClass GeeReadOnlyListClass; | typedef struct _GeeReadOnlyListClass GeeReadOnlyListClass; | |||
typedef struct _GeeReadOnlyListPrivate GeeReadOnlyListPrivate; | typedef struct _GeeReadOnlyListPrivate GeeReadOnlyListPrivate; | |||
/** | /** | |||
* Represents a read-only collection of items in a well-defined order. | * Represents a read-only collection of items in a well-defined order. | |||
*/ | */ | |||
struct _GeeReadOnlyList { | struct _GeeReadOnlyList { | |||
GObject parent; | GObject parent_instance; | |||
GeeReadOnlyListPrivate * priv; | GeeReadOnlyListPrivate * priv; | |||
}; | }; | |||
struct _GeeReadOnlyListClass { | struct _GeeReadOnlyListClass { | |||
GObjectClass parent; | GObjectClass parent_class; | |||
}; | }; | |||
GeeReadOnlyList* gee_read_only_list_new (GType g_type, GBoxedCopyFunc g_dup _func, GDestroyNotify g_destroy_func, GeeList* list); | GeeReadOnlyList* gee_read_only_list_new (GType g_type, GBoxedCopyFunc g_dup _func, GDestroyNotify g_destroy_func, GeeList* list); | |||
void gee_read_only_list_set_list (GeeReadOnlyList* self, GeeList* value); | void gee_read_only_list_set_list (GeeReadOnlyList* self, GeeList* value); | |||
GType gee_read_only_list_get_type (void); | GType gee_read_only_list_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
readonlymap.h | readonlymap.h | |||
---|---|---|---|---|
skipping to change at line 49 | skipping to change at line 49 | |||
#define GEE_READ_ONLY_MAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEE_TYPE_READ_ONLY_MAP, GeeReadOnlyMapClass)) | #define GEE_READ_ONLY_MAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEE_TYPE_READ_ONLY_MAP, GeeReadOnlyMapClass)) | |||
typedef struct _GeeReadOnlyMap GeeReadOnlyMap; | typedef struct _GeeReadOnlyMap GeeReadOnlyMap; | |||
typedef struct _GeeReadOnlyMapClass GeeReadOnlyMapClass; | typedef struct _GeeReadOnlyMapClass GeeReadOnlyMapClass; | |||
typedef struct _GeeReadOnlyMapPrivate GeeReadOnlyMapPrivate; | typedef struct _GeeReadOnlyMapPrivate GeeReadOnlyMapPrivate; | |||
/** | /** | |||
* Represents a read-only collection of key/value pairs. | * Represents a read-only collection of key/value pairs. | |||
*/ | */ | |||
struct _GeeReadOnlyMap { | struct _GeeReadOnlyMap { | |||
GObject parent; | GObject parent_instance; | |||
GeeReadOnlyMapPrivate * priv; | GeeReadOnlyMapPrivate * priv; | |||
}; | }; | |||
struct _GeeReadOnlyMapClass { | struct _GeeReadOnlyMapClass { | |||
GObjectClass parent; | GObjectClass parent_class; | |||
}; | }; | |||
GeeReadOnlyMap* gee_read_only_map_new (GType k_type, GBoxedCopyFunc k_dup_f unc, GDestroyNotify k_destroy_func, GType v_type, GBoxedCopyFunc v_dup_func , GDestroyNotify v_destroy_func, GeeMap* map); | GeeReadOnlyMap* gee_read_only_map_new (GType k_type, GBoxedCopyFunc k_dup_f unc, GDestroyNotify k_destroy_func, GType v_type, GBoxedCopyFunc v_dup_func , GDestroyNotify v_destroy_func, GeeMap* map); | |||
void gee_read_only_map_set_map (GeeReadOnlyMap* self, GeeMap* value); | void gee_read_only_map_set_map (GeeReadOnlyMap* self, GeeMap* value); | |||
GType gee_read_only_map_get_type (void); | GType gee_read_only_map_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
readonlyset.h | readonlyset.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
#define GEE_READ_ONLY_SET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEE_TYPE_READ_ONLY_SET, GeeReadOnlySetClass)) | #define GEE_READ_ONLY_SET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GEE_TYPE_READ_ONLY_SET, GeeReadOnlySetClass)) | |||
typedef struct _GeeReadOnlySet GeeReadOnlySet; | typedef struct _GeeReadOnlySet GeeReadOnlySet; | |||
typedef struct _GeeReadOnlySetClass GeeReadOnlySetClass; | typedef struct _GeeReadOnlySetClass GeeReadOnlySetClass; | |||
typedef struct _GeeReadOnlySetPrivate GeeReadOnlySetPrivate; | typedef struct _GeeReadOnlySetPrivate GeeReadOnlySetPrivate; | |||
/** | /** | |||
* Represents a read-only collection of items without duplicates. | * Represents a read-only collection of items without duplicates. | |||
*/ | */ | |||
struct _GeeReadOnlySet { | struct _GeeReadOnlySet { | |||
GObject parent; | GObject parent_instance; | |||
GeeReadOnlySetPrivate * priv; | GeeReadOnlySetPrivate * priv; | |||
}; | }; | |||
struct _GeeReadOnlySetClass { | struct _GeeReadOnlySetClass { | |||
GObjectClass parent; | GObjectClass parent_class; | |||
}; | }; | |||
GeeReadOnlySet* gee_read_only_set_new (GType g_type, GBoxedCopyFunc g_dup_f unc, GDestroyNotify g_destroy_func, GeeSet* set); | GeeReadOnlySet* gee_read_only_set_new (GType g_type, GBoxedCopyFunc g_dup_f unc, GDestroyNotify g_destroy_func, GeeSet* set); | |||
void gee_read_only_set_set_set (GeeReadOnlySet* self, GeeSet* value); | void gee_read_only_set_set_set (GeeReadOnlySet* self, GeeSet* value); | |||
GType gee_read_only_set_get_type (void); | GType gee_read_only_set_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
set.h | set.h | |||
---|---|---|---|---|
skipping to change at line 44 | skipping to change at line 44 | |||
#define GEE_IS_SET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEE_TYPE_SET)) | #define GEE_IS_SET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEE_TYPE_SET)) | |||
#define GEE_SET_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G EE_TYPE_SET, GeeSetIface)) | #define GEE_SET_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), G EE_TYPE_SET, GeeSetIface)) | |||
typedef struct _GeeSet GeeSet; | typedef struct _GeeSet GeeSet; | |||
typedef struct _GeeSetIface GeeSetIface; | typedef struct _GeeSetIface GeeSetIface; | |||
/** | /** | |||
* A set is a collection without duplicates. | * A set is a collection without duplicates. | |||
*/ | */ | |||
struct _GeeSetIface { | struct _GeeSetIface { | |||
GTypeInterface parent; | GTypeInterface parent_iface; | |||
}; | }; | |||
GType gee_set_get_type (void); | GType gee_set_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
vala.h | vala.h | |||
---|---|---|---|---|
#include <vala/valaaddressofexpression.h> | #include <vala/valaaddressofexpression.h> | |||
#include <vala/valaarraycreationexpression.h> | #include <vala/valaarraycreationexpression.h> | |||
#include <vala/valaassignment.h> | #include <vala/valaassignment.h> | |||
#include <vala/valaattribute.h> | #include <vala/valaattribute.h> | |||
#include <vala/valabaseaccess.h> | #include <vala/valabaseaccess.h> | |||
#include <vala/valabinaryexpression.h> | #include <vala/valabinaryexpression.h> | |||
#include <vala/valablock.h> | #include <vala/valablock.h> | |||
#include <vala/valabooleanliteral.h> | #include <vala/valabooleanliteral.h> | |||
#include <vala/valabreakstatement.h> | #include <vala/valabreakstatement.h> | |||
#include <vala/valacallback.h> | ||||
#include <vala/valacastexpression.h> | #include <vala/valacastexpression.h> | |||
#include <vala/valacatchclause.h> | #include <vala/valacatchclause.h> | |||
#include <vala/valacharacterliteral.h> | #include <vala/valacharacterliteral.h> | |||
#include <vala/valaclass.h> | #include <vala/valaclass.h> | |||
#include <vala/valacodecontext.h> | #include <vala/valacodecontext.h> | |||
#include <vala/valaconditionalexpression.h> | #include <vala/valaconditionalexpression.h> | |||
#include <vala/valaconstant.h> | #include <vala/valaconstant.h> | |||
#include <vala/valaconstructor.h> | #include <vala/valaconstructor.h> | |||
#include <vala/valacontinuestatement.h> | #include <vala/valacontinuestatement.h> | |||
#include <vala/valacreationmethod.h> | #include <vala/valacreationmethod.h> | |||
#include <vala/valadatatype.h> | ||||
#include <vala/valadeclarationstatement.h> | #include <vala/valadeclarationstatement.h> | |||
#include <vala/valadelegate.h> | ||||
#include <vala/valadestructor.h> | #include <vala/valadestructor.h> | |||
#include <vala/valadostatement.h> | #include <vala/valadostatement.h> | |||
#include <vala/valaelementaccess.h> | #include <vala/valaelementaccess.h> | |||
#include <vala/valaemptystatement.h> | #include <vala/valaemptystatement.h> | |||
#include <vala/valaenum.h> | #include <vala/valaenum.h> | |||
#include <vala/valaenumvalue.h> | #include <vala/valaenumvalue.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valaexpressionstatement.h> | #include <vala/valaexpressionstatement.h> | |||
#include <vala/valafield.h> | #include <vala/valafield.h> | |||
#include <vala/valaforeachstatement.h> | #include <vala/valaforeachstatement.h> | |||
skipping to change at line 55 | skipping to change at line 56 | |||
#include <vala/valamemberinitializer.h> | #include <vala/valamemberinitializer.h> | |||
#include <vala/valamethod.h> | #include <vala/valamethod.h> | |||
#include <vala/valanamedargument.h> | #include <vala/valanamedargument.h> | |||
#include <vala/valanamespace.h> | #include <vala/valanamespace.h> | |||
#include <vala/valanamespacereference.h> | #include <vala/valanamespacereference.h> | |||
#include <vala/valanullliteral.h> | #include <vala/valanullliteral.h> | |||
#include <vala/valaobjectcreationexpression.h> | #include <vala/valaobjectcreationexpression.h> | |||
#include <vala/valaparenthesizedexpression.h> | #include <vala/valaparenthesizedexpression.h> | |||
#include <vala/valaparser.h> | #include <vala/valaparser.h> | |||
#include <vala/valapointerindirection.h> | #include <vala/valapointerindirection.h> | |||
#include <vala/valapointertype.h> | ||||
#include <vala/valapostfixexpression.h> | #include <vala/valapostfixexpression.h> | |||
#include <vala/valaproperty.h> | #include <vala/valaproperty.h> | |||
#include <vala/valapropertyaccessor.h> | #include <vala/valapropertyaccessor.h> | |||
#include <vala/valarealliteral.h> | #include <vala/valarealliteral.h> | |||
#include <vala/valareferencetransferexpression.h> | #include <vala/valareferencetransferexpression.h> | |||
#include <vala/valareport.h> | #include <vala/valareport.h> | |||
#include <vala/valareturnstatement.h> | #include <vala/valareturnstatement.h> | |||
#include <vala/valascope.h> | #include <vala/valascope.h> | |||
#include <vala/valasignal.h> | #include <vala/valasignal.h> | |||
#include <vala/valasizeofexpression.h> | #include <vala/valasizeofexpression.h> | |||
skipping to change at line 77 | skipping to change at line 79 | |||
#include <vala/valastringliteral.h> | #include <vala/valastringliteral.h> | |||
#include <vala/valastruct.h> | #include <vala/valastruct.h> | |||
#include <vala/valaswitchlabel.h> | #include <vala/valaswitchlabel.h> | |||
#include <vala/valaswitchsection.h> | #include <vala/valaswitchsection.h> | |||
#include <vala/valaswitchstatement.h> | #include <vala/valaswitchstatement.h> | |||
#include <vala/valathrowstatement.h> | #include <vala/valathrowstatement.h> | |||
#include <vala/valatrystatement.h> | #include <vala/valatrystatement.h> | |||
#include <vala/valatypecheck.h> | #include <vala/valatypecheck.h> | |||
#include <vala/valatypeofexpression.h> | #include <vala/valatypeofexpression.h> | |||
#include <vala/valatypeparameter.h> | #include <vala/valatypeparameter.h> | |||
#include <vala/valatypereference.h> | #include <vala/valatypesymbol.h> | |||
#include <vala/valaunaryexpression.h> | #include <vala/valaunaryexpression.h> | |||
#include <vala/valaunresolvedtype.h> | ||||
#include <vala/valavariabledeclarator.h> | #include <vala/valavariabledeclarator.h> | |||
#include <vala/valavoidtype.h> | ||||
#include <vala/valawhilestatement.h> | #include <vala/valawhilestatement.h> | |||
End of changes. 7 change blocks. | ||||
2 lines changed or deleted | 6 lines changed or added | |||
valaaddressofexpression.h | valaaddressofexpression.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_ADDRESSOF_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj ), VALA_TYPE_ADDRESSOF_EXPRESSION)) | #define VALA_IS_ADDRESSOF_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj ), VALA_TYPE_ADDRESSOF_EXPRESSION)) | |||
#define VALA_IS_ADDRESSOF_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_ADDRESSOF_EXPRESSION)) | #define VALA_IS_ADDRESSOF_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_ADDRESSOF_EXPRESSION)) | |||
#define VALA_ADDRESSOF_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_ADDRESSOF_EXPRESSION, ValaAddressofExpressionClass)) | #define VALA_ADDRESSOF_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_ADDRESSOF_EXPRESSION, ValaAddressofExpressionClass)) | |||
typedef struct _ValaAddressofExpressionPrivate ValaAddressofExpressionPriva te; | typedef struct _ValaAddressofExpressionPrivate ValaAddressofExpressionPriva te; | |||
/** | /** | |||
* Represents an address-of expression in the source code, e.g. `&foo'. | * Represents an address-of expression in the source code, e.g. `&foo'. | |||
*/ | */ | |||
struct _ValaAddressofExpression { | struct _ValaAddressofExpression { | |||
ValaExpression parent; | ValaExpression parent_instance; | |||
ValaAddressofExpressionPrivate * priv; | ValaAddressofExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaAddressofExpressionClass { | struct _ValaAddressofExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent_class; | |||
}; | }; | |||
ValaAddressofExpression* vala_addressof_expression_new (ValaExpression* inn er, ValaSourceReference* source_reference); | ValaAddressofExpression* vala_addressof_expression_new (ValaExpression* inn er, ValaSourceReference* source_reference); | |||
ValaExpression* vala_addressof_expression_get_inner (ValaAddressofExpressio n* self); | ValaExpression* vala_addressof_expression_get_inner (ValaAddressofExpressio n* self); | |||
void vala_addressof_expression_set_inner (ValaAddressofExpression* self, Va laExpression* value); | void vala_addressof_expression_set_inner (ValaAddressofExpression* self, Va laExpression* value); | |||
GType vala_addressof_expression_get_type (void); | GType vala_addressof_expression_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaarray.h | valaarray.h | |||
---|---|---|---|---|
skipping to change at line 32 | skipping to change at line 32 | |||
*/ | */ | |||
#ifndef __VALA_VALAARRAY_H__ | #ifndef __VALA_VALAARRAY_H__ | |||
#define __VALA_VALAARRAY_H__ | #define __VALA_VALAARRAY_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <gee/collection.h> | #include <gee/collection.h> | |||
#include <vala/valadatatype.h> | #include <vala/valatypesymbol.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
#include <vala/valaarraymovemethod.h> | #include <vala/valaarraymovemethod.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_ARRAY (vala_array_get_type ()) | #define VALA_TYPE_ARRAY (vala_array_get_type ()) | |||
#define VALA_ARRAY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ARRAY , ValaArray)) | #define VALA_ARRAY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ARRAY , ValaArray)) | |||
#define VALA_ARRAY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP E_ARRAY, ValaArrayClass)) | #define VALA_ARRAY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP E_ARRAY, ValaArrayClass)) | |||
#define VALA_IS_ARRAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_AR RAY)) | #define VALA_IS_ARRAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_AR RAY)) | |||
#define VALA_IS_ARRAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_ TYPE_ARRAY)) | #define VALA_IS_ARRAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_ TYPE_ARRAY)) | |||
#define VALA_ARRAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T YPE_ARRAY, ValaArrayClass)) | #define VALA_ARRAY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T YPE_ARRAY, ValaArrayClass)) | |||
typedef struct _ValaArrayPrivate ValaArrayPrivate; | typedef struct _ValaArrayPrivate ValaArrayPrivate; | |||
/** | /** | |||
* Represents an array type i.e. everything with direct accessable elements . | * Represents an array type i.e. everything with direct accessable elements . | |||
*/ | */ | |||
struct _ValaArray { | struct _ValaArray { | |||
ValaDataType parent; | ValaTypesymbol parent_instance; | |||
ValaArrayPrivate * priv; | ValaArrayPrivate * priv; | |||
}; | }; | |||
struct _ValaArrayClass { | struct _ValaArrayClass { | |||
ValaDataTypeClass parent; | ValaTypesymbolClass parent_class; | |||
}; | }; | |||
ValaArray* vala_array_new (ValaDataType* _element_type, gint _rank, ValaSou rceReference* _source_reference); | ValaArray* vala_array_new (ValaTypesymbol* _element_type, gint _rank, ValaS ourceReference* _source_reference); | |||
ValaArray* vala_array_new_with_type_parameter (ValaTypeParameter* _element_ type_parameter, gint _rank, ValaSourceReference* _source_reference); | ValaArray* vala_array_new_with_type_parameter (ValaTypeParameter* _element_ type_parameter, gint _rank, ValaSourceReference* _source_reference); | |||
ValaArrayLengthField* vala_array_get_length_field (ValaArray* self); | ValaArrayLengthField* vala_array_get_length_field (ValaArray* self); | |||
ValaArrayResizeMethod* vala_array_get_resize_method (ValaArray* self); | ValaArrayResizeMethod* vala_array_get_resize_method (ValaArray* self); | |||
ValaArrayMoveMethod* vala_array_get_move_method (ValaArray* self); | ValaArrayMoveMethod* vala_array_get_move_method (ValaArray* self); | |||
ValaDataType* vala_array_get_element_type (ValaArray* self); | ValaTypesymbol* vala_array_get_element_type (ValaArray* self); | |||
void vala_array_set_element_type (ValaArray* self, ValaDataType* value); | void vala_array_set_element_type (ValaArray* self, ValaTypesymbol* value); | |||
ValaTypeParameter* vala_array_get_element_type_parameter (ValaArray* self); | ValaTypeParameter* vala_array_get_element_type_parameter (ValaArray* self); | |||
void vala_array_set_element_type_parameter (ValaArray* self, ValaTypeParame ter* value); | void vala_array_set_element_type_parameter (ValaArray* self, ValaTypeParame ter* value); | |||
gint vala_array_get_rank (ValaArray* self); | gint vala_array_get_rank (ValaArray* self); | |||
void vala_array_set_rank (ValaArray* self, gint value); | void vala_array_set_rank (ValaArray* self, gint value); | |||
GType vala_array_get_type (void); | GType vala_array_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 5 change blocks. | ||||
6 lines changed or deleted | 6 lines changed or added | |||
valaarraycreationexpression.h | valaarraycreationexpression.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_IS_ARRAY_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ARRAY_CREATION_EXPRESSION)) | #define VALA_IS_ARRAY_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ARRAY_CREATION_EXPRESSION)) | |||
#define VALA_IS_ARRAY_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_ TYPE ((klass), VALA_TYPE_ARRAY_CREATION_EXPRESSION)) | #define VALA_IS_ARRAY_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_ TYPE ((klass), VALA_TYPE_ARRAY_CREATION_EXPRESSION)) | |||
#define VALA_ARRAY_CREATION_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_ CLASS ((obj), VALA_TYPE_ARRAY_CREATION_EXPRESSION, ValaArrayCreationExpress ionClass)) | #define VALA_ARRAY_CREATION_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_ CLASS ((obj), VALA_TYPE_ARRAY_CREATION_EXPRESSION, ValaArrayCreationExpress ionClass)) | |||
typedef struct _ValaArrayCreationExpressionPrivate ValaArrayCreationExpress ionPrivate; | typedef struct _ValaArrayCreationExpressionPrivate ValaArrayCreationExpress ionPrivate; | |||
/** | /** | |||
* Represents an array creation expression e.g. "new int[] {1,2,3}". | * Represents an array creation expression e.g. "new int[] {1,2,3}". | |||
*/ | */ | |||
struct _ValaArrayCreationExpression { | struct _ValaArrayCreationExpression { | |||
ValaExpression parent; | ValaExpression parent_instance; | |||
ValaArrayCreationExpressionPrivate * priv; | ValaArrayCreationExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaArrayCreationExpressionClass { | struct _ValaArrayCreationExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent_class; | |||
}; | }; | |||
void vala_array_creation_expression_append_size (ValaArrayCreationExpressio n* self, ValaExpression* size); | void vala_array_creation_expression_append_size (ValaArrayCreationExpressio n* self, ValaExpression* size); | |||
GeeList* vala_array_creation_expression_get_sizes (ValaArrayCreationExpress ion* self); | GeeList* vala_array_creation_expression_get_sizes (ValaArrayCreationExpress ion* self); | |||
ValaArrayCreationExpression* vala_array_creation_expression_new (ValaTypeRe | ValaArrayCreationExpression* vala_array_creation_expression_new (ValaDataTy | |||
ference* element_type, gint rank, ValaInitializerList* initializer_list, Va | pe* element_type, gint rank, ValaInitializerList* initializer_list, ValaSou | |||
laSourceReference* source_reference); | rceReference* source_reference); | |||
ValaTypeReference* vala_array_creation_expression_get_element_type (ValaArr | ValaDataType* vala_array_creation_expression_get_element_type (ValaArrayCre | |||
ayCreationExpression* self); | ationExpression* self); | |||
void vala_array_creation_expression_set_element_type (ValaArrayCreationExpr | void vala_array_creation_expression_set_element_type (ValaArrayCreationExpr | |||
ession* self, ValaTypeReference* value); | ession* self, ValaDataType* value); | |||
gint vala_array_creation_expression_get_rank (ValaArrayCreationExpression* self); | gint vala_array_creation_expression_get_rank (ValaArrayCreationExpression* self); | |||
void vala_array_creation_expression_set_rank (ValaArrayCreationExpression* self, gint value); | void vala_array_creation_expression_set_rank (ValaArrayCreationExpression* self, gint value); | |||
ValaInitializerList* vala_array_creation_expression_get_initializer_list (V alaArrayCreationExpression* self); | ValaInitializerList* vala_array_creation_expression_get_initializer_list (V alaArrayCreationExpression* self); | |||
void vala_array_creation_expression_set_initializer_list (ValaArrayCreation Expression* self, ValaInitializerList* value); | void vala_array_creation_expression_set_initializer_list (ValaArrayCreation Expression* self, ValaInitializerList* value); | |||
GType vala_array_creation_expression_get_type (void); | GType vala_array_creation_expression_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 3 change blocks. | ||||
9 lines changed or deleted | 9 lines changed or added | |||
valaarraylengthfield.h | valaarraylengthfield.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_ARRAY_LENGTH_FIELD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ARRAY_LENGTH_FIELD)) | #define VALA_IS_ARRAY_LENGTH_FIELD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ARRAY_LENGTH_FIELD)) | |||
#define VALA_IS_ARRAY_LENGTH_FIELD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( klass), VALA_TYPE_ARRAY_LENGTH_FIELD)) | #define VALA_IS_ARRAY_LENGTH_FIELD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( klass), VALA_TYPE_ARRAY_LENGTH_FIELD)) | |||
#define VALA_ARRAY_LENGTH_FIELD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_ARRAY_LENGTH_FIELD, ValaArrayLengthFieldClass)) | #define VALA_ARRAY_LENGTH_FIELD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_ARRAY_LENGTH_FIELD, ValaArrayLengthFieldClass)) | |||
typedef struct _ValaArrayLengthFieldPrivate ValaArrayLengthFieldPrivate; | typedef struct _ValaArrayLengthFieldPrivate ValaArrayLengthFieldPrivate; | |||
/** | /** | |||
* Represents the Array.length field. | * Represents the Array.length field. | |||
*/ | */ | |||
struct _ValaArrayLengthField { | struct _ValaArrayLengthField { | |||
ValaField parent; | ValaField parent_instance; | |||
ValaArrayLengthFieldPrivate * priv; | ValaArrayLengthFieldPrivate * priv; | |||
}; | }; | |||
struct _ValaArrayLengthFieldClass { | struct _ValaArrayLengthFieldClass { | |||
ValaFieldClass parent; | ValaFieldClass parent_class; | |||
}; | }; | |||
ValaArrayLengthField* vala_array_length_field_new (ValaSourceReference* sou rce_reference); | ValaArrayLengthField* vala_array_length_field_new (ValaSourceReference* sou rce_reference); | |||
GType vala_array_length_field_get_type (void); | GType vala_array_length_field_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaarraymovemethod.h | valaarraymovemethod.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_ARRAY_MOVE_METHOD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_ARRAY_MOVE_METHOD, ValaArrayMoveMethodClass)) | #define VALA_ARRAY_MOVE_METHOD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_ARRAY_MOVE_METHOD, ValaArrayMoveMethodClass)) | |||
typedef struct _ValaArrayMoveMethod ValaArrayMoveMethod; | typedef struct _ValaArrayMoveMethod ValaArrayMoveMethod; | |||
typedef struct _ValaArrayMoveMethodClass ValaArrayMoveMethodClass; | typedef struct _ValaArrayMoveMethodClass ValaArrayMoveMethodClass; | |||
typedef struct _ValaArrayMoveMethodPrivate ValaArrayMoveMethodPrivate; | typedef struct _ValaArrayMoveMethodPrivate ValaArrayMoveMethodPrivate; | |||
/** | /** | |||
* Represents the Array.move method. | * Represents the Array.move method. | |||
*/ | */ | |||
struct _ValaArrayMoveMethod { | struct _ValaArrayMoveMethod { | |||
ValaMethod parent; | ValaMethod parent_instance; | |||
ValaArrayMoveMethodPrivate * priv; | ValaArrayMoveMethodPrivate * priv; | |||
}; | }; | |||
struct _ValaArrayMoveMethodClass { | struct _ValaArrayMoveMethodClass { | |||
ValaMethodClass parent; | ValaMethodClass parent_class; | |||
}; | }; | |||
ValaArrayMoveMethod* vala_array_move_method_new (ValaSourceReference* sourc e_reference); | ValaArrayMoveMethod* vala_array_move_method_new (ValaSourceReference* sourc e_reference); | |||
GType vala_array_move_method_get_type (void); | GType vala_array_move_method_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaarrayresizemethod.h | valaarrayresizemethod.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_ARRAY_RESIZE_METHOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_ARRAY_RESIZE_METHOD)) | #define VALA_IS_ARRAY_RESIZE_METHOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_ARRAY_RESIZE_METHOD)) | |||
#define VALA_IS_ARRAY_RESIZE_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_ARRAY_RESIZE_METHOD)) | #define VALA_IS_ARRAY_RESIZE_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_ARRAY_RESIZE_METHOD)) | |||
#define VALA_ARRAY_RESIZE_METHOD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_ARRAY_RESIZE_METHOD, ValaArrayResizeMethodClass)) | #define VALA_ARRAY_RESIZE_METHOD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_ARRAY_RESIZE_METHOD, ValaArrayResizeMethodClass)) | |||
typedef struct _ValaArrayResizeMethodPrivate ValaArrayResizeMethodPrivate; | typedef struct _ValaArrayResizeMethodPrivate ValaArrayResizeMethodPrivate; | |||
/** | /** | |||
* Represents the Array.resize method. | * Represents the Array.resize method. | |||
*/ | */ | |||
struct _ValaArrayResizeMethod { | struct _ValaArrayResizeMethod { | |||
ValaMethod parent; | ValaMethod parent_instance; | |||
ValaArrayResizeMethodPrivate * priv; | ValaArrayResizeMethodPrivate * priv; | |||
}; | }; | |||
struct _ValaArrayResizeMethodClass { | struct _ValaArrayResizeMethodClass { | |||
ValaMethodClass parent; | ValaMethodClass parent_class; | |||
}; | }; | |||
ValaArrayResizeMethod* vala_array_resize_method_new (ValaSourceReference* s ource_reference); | ValaArrayResizeMethod* vala_array_resize_method_new (ValaSourceReference* s ource_reference); | |||
GType vala_array_resize_method_get_type (void); | GType vala_array_resize_method_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaassignment.h | valaassignment.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_ASSIGNMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_ASSIGNMENT, ValaAssignmentClass)) | #define VALA_ASSIGNMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_ASSIGNMENT, ValaAssignmentClass)) | |||
typedef struct _ValaAssignmentPrivate ValaAssignmentPrivate; | typedef struct _ValaAssignmentPrivate ValaAssignmentPrivate; | |||
/** | /** | |||
* Represents an assignment expression in the source code. | * Represents an assignment expression in the source code. | |||
* | * | |||
* Supports =, |=, &=, ^=, +=, -=, *=, /=, %=, <<=, >>=. | * Supports =, |=, &=, ^=, +=, -=, *=, /=, %=, <<=, >>=. | |||
*/ | */ | |||
struct _ValaAssignment { | struct _ValaAssignment { | |||
ValaExpression parent; | ValaExpression parent_instance; | |||
ValaAssignmentPrivate * priv; | ValaAssignmentPrivate * priv; | |||
}; | }; | |||
struct _ValaAssignmentClass { | struct _ValaAssignmentClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent_class; | |||
}; | }; | |||
typedef enum { | typedef enum { | |||
VALA_ASSIGNMENT_OPERATOR_SIMPLE, | VALA_ASSIGNMENT_OPERATOR_SIMPLE, | |||
VALA_ASSIGNMENT_OPERATOR_BITWISE_OR, | VALA_ASSIGNMENT_OPERATOR_BITWISE_OR, | |||
VALA_ASSIGNMENT_OPERATOR_BITWISE_AND, | VALA_ASSIGNMENT_OPERATOR_BITWISE_AND, | |||
VALA_ASSIGNMENT_OPERATOR_BITWISE_XOR, | VALA_ASSIGNMENT_OPERATOR_BITWISE_XOR, | |||
VALA_ASSIGNMENT_OPERATOR_ADD, | VALA_ASSIGNMENT_OPERATOR_ADD, | |||
VALA_ASSIGNMENT_OPERATOR_SUB, | VALA_ASSIGNMENT_OPERATOR_SUB, | |||
VALA_ASSIGNMENT_OPERATOR_MUL, | VALA_ASSIGNMENT_OPERATOR_MUL, | |||
VALA_ASSIGNMENT_OPERATOR_DIV, | VALA_ASSIGNMENT_OPERATOR_DIV, | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaattribute.h | valaattribute.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_IS_ATTRIBUTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP E_ATTRIBUTE)) | #define VALA_IS_ATTRIBUTE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP E_ATTRIBUTE)) | |||
#define VALA_IS_ATTRIBUTE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V ALA_TYPE_ATTRIBUTE)) | #define VALA_IS_ATTRIBUTE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V ALA_TYPE_ATTRIBUTE)) | |||
#define VALA_ATTRIBUTE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA LA_TYPE_ATTRIBUTE, ValaAttributeClass)) | #define VALA_ATTRIBUTE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA LA_TYPE_ATTRIBUTE, ValaAttributeClass)) | |||
typedef struct _ValaAttributePrivate ValaAttributePrivate; | typedef struct _ValaAttributePrivate ValaAttributePrivate; | |||
/** | /** | |||
* Represents an attribute specified in the source code. | * Represents an attribute specified in the source code. | |||
*/ | */ | |||
struct _ValaAttribute { | struct _ValaAttribute { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaAttributePrivate * priv; | ValaAttributePrivate * priv; | |||
GeeList* args; | GeeList* args; | |||
}; | }; | |||
struct _ValaAttributeClass { | struct _ValaAttributeClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaAttribute* vala_attribute_new (const char* name, ValaSourceReference* s ource_reference); | ValaAttribute* vala_attribute_new (const char* name, ValaSourceReference* s ource_reference); | |||
void vala_attribute_add_argument (ValaAttribute* self, ValaNamedArgument* a rg); | void vala_attribute_add_argument (ValaAttribute* self, ValaNamedArgument* a rg); | |||
gboolean vala_attribute_has_argument (ValaAttribute* self, const char* name ); | gboolean vala_attribute_has_argument (ValaAttribute* self, const char* name ); | |||
char* vala_attribute_get_string (ValaAttribute* self, const char* name); | char* vala_attribute_get_string (ValaAttribute* self, const char* name); | |||
gint vala_attribute_get_integer (ValaAttribute* self, const char* name); | gint vala_attribute_get_integer (ValaAttribute* self, const char* name); | |||
gboolean vala_attribute_get_bool (ValaAttribute* self, const char* name); | gboolean vala_attribute_get_bool (ValaAttribute* self, const char* name); | |||
char* vala_attribute_get_name (ValaAttribute* self); | char* vala_attribute_get_name (ValaAttribute* self); | |||
void vala_attribute_set_name (ValaAttribute* self, const char* value); | void vala_attribute_set_name (ValaAttribute* self, const char* value); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaattributeprocessor.h | valaattributeprocessor.h | |||
---|---|---|---|---|
/* valaattributeprocessor.vala | /* valaattributeprocessor.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter, Raffaele Sandrini | * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 40 | skipping to change at line 40 | |||
#include <vala/valacodecontext.h> | #include <vala/valacodecontext.h> | |||
#include <vala/valasourcefile.h> | #include <vala/valasourcefile.h> | |||
#include <vala/valanamespace.h> | #include <vala/valanamespace.h> | |||
#include <vala/valaclass.h> | #include <vala/valaclass.h> | |||
#include <vala/valastruct.h> | #include <vala/valastruct.h> | |||
#include <vala/valainterface.h> | #include <vala/valainterface.h> | |||
#include <vala/valaenum.h> | #include <vala/valaenum.h> | |||
#include <vala/valamethod.h> | #include <vala/valamethod.h> | |||
#include <vala/valacreationmethod.h> | #include <vala/valacreationmethod.h> | |||
#include <vala/valaproperty.h> | #include <vala/valaproperty.h> | |||
#include <vala/valacallback.h> | #include <vala/valadelegate.h> | |||
#include <vala/valaconstant.h> | ||||
#include <vala/valafield.h> | #include <vala/valafield.h> | |||
#include <vala/valasignal.h> | #include <vala/valasignal.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_ATTRIBUTE_PROCESSOR (vala_attribute_processor_get_type () ) | #define VALA_TYPE_ATTRIBUTE_PROCESSOR (vala_attribute_processor_get_type () ) | |||
#define VALA_ATTRIBUTE_PROCESSOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), V ALA_TYPE_ATTRIBUTE_PROCESSOR, ValaAttributeProcessor)) | #define VALA_ATTRIBUTE_PROCESSOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), V ALA_TYPE_ATTRIBUTE_PROCESSOR, ValaAttributeProcessor)) | |||
#define VALA_ATTRIBUTE_PROCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kl ass), VALA_TYPE_ATTRIBUTE_PROCESSOR, ValaAttributeProcessorClass)) | #define VALA_ATTRIBUTE_PROCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kl ass), VALA_TYPE_ATTRIBUTE_PROCESSOR, ValaAttributeProcessorClass)) | |||
#define VALA_IS_ATTRIBUTE_PROCESSOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_ATTRIBUTE_PROCESSOR)) | #define VALA_IS_ATTRIBUTE_PROCESSOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_ATTRIBUTE_PROCESSOR)) | |||
#define VALA_IS_ATTRIBUTE_PROCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_ATTRIBUTE_PROCESSOR)) | #define VALA_IS_ATTRIBUTE_PROCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_ATTRIBUTE_PROCESSOR)) | |||
#define VALA_ATTRIBUTE_PROCESSOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_ATTRIBUTE_PROCESSOR, ValaAttributeProcessorClass)) | #define VALA_ATTRIBUTE_PROCESSOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_ATTRIBUTE_PROCESSOR, ValaAttributeProcessorClass)) | |||
typedef struct _ValaAttributeProcessor ValaAttributeProcessor; | typedef struct _ValaAttributeProcessor ValaAttributeProcessor; | |||
typedef struct _ValaAttributeProcessorClass ValaAttributeProcessorClass; | typedef struct _ValaAttributeProcessorClass ValaAttributeProcessorClass; | |||
typedef struct _ValaAttributeProcessorPrivate ValaAttributeProcessorPrivate ; | typedef struct _ValaAttributeProcessorPrivate ValaAttributeProcessorPrivate ; | |||
/** | /** | |||
* Code visitor processing attributes associated with code nodes. | * Code visitor processing attributes associated with code nodes. | |||
*/ | */ | |||
struct _ValaAttributeProcessor { | struct _ValaAttributeProcessor { | |||
ValaCodeVisitor parent; | ValaCodeVisitor parent_instance; | |||
ValaAttributeProcessorPrivate * priv; | ValaAttributeProcessorPrivate * priv; | |||
}; | }; | |||
struct _ValaAttributeProcessorClass { | struct _ValaAttributeProcessorClass { | |||
ValaCodeVisitorClass parent; | ValaCodeVisitorClass parent_class; | |||
}; | }; | |||
void vala_attribute_processor_process (ValaAttributeProcessor* self, ValaCo deContext* context); | void vala_attribute_processor_process (ValaAttributeProcessor* self, ValaCo deContext* context); | |||
ValaAttributeProcessor* vala_attribute_processor_new (void); | ValaAttributeProcessor* vala_attribute_processor_new (void); | |||
GType vala_attribute_processor_get_type (void); | GType vala_attribute_processor_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 4 change blocks. | ||||
4 lines changed or deleted | 5 lines changed or added | |||
valabaseaccess.h | valabaseaccess.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_IS_BASE_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T YPE_BASE_ACCESS)) | #define VALA_IS_BASE_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T YPE_BASE_ACCESS)) | |||
#define VALA_IS_BASE_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_BASE_ACCESS)) | #define VALA_IS_BASE_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_BASE_ACCESS)) | |||
#define VALA_BASE_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_BASE_ACCESS, ValaBaseAccessClass)) | #define VALA_BASE_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_BASE_ACCESS, ValaBaseAccessClass)) | |||
typedef struct _ValaBaseAccessPrivate ValaBaseAccessPrivate; | typedef struct _ValaBaseAccessPrivate ValaBaseAccessPrivate; | |||
/** | /** | |||
* Represents an access to base class members in the source code. | * Represents an access to base class members in the source code. | |||
*/ | */ | |||
struct _ValaBaseAccess { | struct _ValaBaseAccess { | |||
ValaExpression parent; | ValaExpression parent_instance; | |||
ValaBaseAccessPrivate * priv; | ValaBaseAccessPrivate * priv; | |||
}; | }; | |||
struct _ValaBaseAccessClass { | struct _ValaBaseAccessClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent_class; | |||
}; | }; | |||
ValaBaseAccess* vala_base_access_new (ValaSourceReference* source); | ValaBaseAccess* vala_base_access_new (ValaSourceReference* source); | |||
GType vala_base_access_get_type (void); | GType vala_base_access_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valabinaryexpression.h | valabinaryexpression.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_BINARY_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_BINARY_EXPRESSION, ValaBinaryExpressionClass)) | #define VALA_BINARY_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_BINARY_EXPRESSION, ValaBinaryExpressionClass)) | |||
typedef struct _ValaBinaryExpressionPrivate ValaBinaryExpressionPrivate; | typedef struct _ValaBinaryExpressionPrivate ValaBinaryExpressionPrivate; | |||
/** | /** | |||
* Represents an expression with two operands in the source code. | * Represents an expression with two operands in the source code. | |||
* | * | |||
* Supports +, -, *, /, %, <<, >>, <, >, <=, >=, ==, !=, &, |, ^, &&, ||. | * Supports +, -, *, /, %, <<, >>, <, >, <=, >=, ==, !=, &, |, ^, &&, ||. | |||
*/ | */ | |||
struct _ValaBinaryExpression { | struct _ValaBinaryExpression { | |||
ValaExpression parent; | ValaExpression parent_instance; | |||
ValaBinaryExpressionPrivate * priv; | ValaBinaryExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaBinaryExpressionClass { | struct _ValaBinaryExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent_class; | |||
}; | }; | |||
typedef enum { | typedef enum { | |||
VALA_BINARY_OPERATOR_PLUS, | VALA_BINARY_OPERATOR_PLUS, | |||
VALA_BINARY_OPERATOR_MINUS, | VALA_BINARY_OPERATOR_MINUS, | |||
VALA_BINARY_OPERATOR_MUL, | VALA_BINARY_OPERATOR_MUL, | |||
VALA_BINARY_OPERATOR_DIV, | VALA_BINARY_OPERATOR_DIV, | |||
VALA_BINARY_OPERATOR_MOD, | VALA_BINARY_OPERATOR_MOD, | |||
VALA_BINARY_OPERATOR_SHIFT_LEFT, | VALA_BINARY_OPERATOR_SHIFT_LEFT, | |||
VALA_BINARY_OPERATOR_SHIFT_RIGHT, | VALA_BINARY_OPERATOR_SHIFT_RIGHT, | |||
VALA_BINARY_OPERATOR_LESS_THAN, | VALA_BINARY_OPERATOR_LESS_THAN, | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valabindingprovider.h | valabindingprovider.h | |||
---|---|---|---|---|
skipping to change at line 45 | skipping to change at line 45 | |||
#define VALA_IS_BINDING_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_BINDING_PROVIDER)) | #define VALA_IS_BINDING_PROVIDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_BINDING_PROVIDER)) | |||
#define VALA_BINDING_PROVIDER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTER FACE ((obj), VALA_TYPE_BINDING_PROVIDER, ValaBindingProviderIface)) | #define VALA_BINDING_PROVIDER_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTER FACE ((obj), VALA_TYPE_BINDING_PROVIDER, ValaBindingProviderIface)) | |||
typedef struct _ValaBindingProvider ValaBindingProvider; | typedef struct _ValaBindingProvider ValaBindingProvider; | |||
typedef struct _ValaBindingProviderIface ValaBindingProviderIface; | typedef struct _ValaBindingProviderIface ValaBindingProviderIface; | |||
/** | /** | |||
* Interface for dynamic binding providers. | * Interface for dynamic binding providers. | |||
*/ | */ | |||
struct _ValaBindingProviderIface { | struct _ValaBindingProviderIface { | |||
GTypeInterface parent; | GTypeInterface parent_iface; | |||
ValaSymbol* (*get_binding) (ValaBindingProvider* self, ValaMemberAcc ess* ma); | ValaSymbol* (*get_binding) (ValaBindingProvider* self, ValaMemberAcc ess* ma); | |||
}; | }; | |||
ValaSymbol* vala_binding_provider_get_binding (ValaBindingProvider* self, V alaMemberAccess* ma); | ValaSymbol* vala_binding_provider_get_binding (ValaBindingProvider* self, V alaMemberAccess* ma); | |||
GType vala_binding_provider_get_type (void); | GType vala_binding_provider_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valablock.h | valablock.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_IS_BLOCK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_BL OCK)) | #define VALA_IS_BLOCK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_BL OCK)) | |||
#define VALA_IS_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_ TYPE_BLOCK)) | #define VALA_IS_BLOCK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_ TYPE_BLOCK)) | |||
#define VALA_BLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T YPE_BLOCK, ValaBlockClass)) | #define VALA_BLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T YPE_BLOCK, ValaBlockClass)) | |||
typedef struct _ValaBlockPrivate ValaBlockPrivate; | typedef struct _ValaBlockPrivate ValaBlockPrivate; | |||
/** | /** | |||
* Represents a source code block. | * Represents a source code block. | |||
*/ | */ | |||
struct _ValaBlock { | struct _ValaBlock { | |||
ValaSymbol parent; | ValaSymbol parent_instance; | |||
ValaBlockPrivate * priv; | ValaBlockPrivate * priv; | |||
}; | }; | |||
struct _ValaBlockClass { | struct _ValaBlockClass { | |||
ValaSymbolClass parent; | ValaSymbolClass parent_class; | |||
}; | }; | |||
ValaBlock* vala_block_new (ValaSourceReference* source_reference); | ValaBlock* vala_block_new (ValaSourceReference* source_reference); | |||
void vala_block_add_statement (ValaBlock* self, ValaStatement* stmt); | void vala_block_add_statement (ValaBlock* self, ValaStatement* stmt); | |||
GeeCollection* vala_block_get_statements (ValaBlock* self); | GeeCollection* vala_block_get_statements (ValaBlock* self); | |||
void vala_block_add_local_variable (ValaBlock* self, ValaVariableDeclarator * decl); | void vala_block_add_local_variable (ValaBlock* self, ValaVariableDeclarator * decl); | |||
GeeCollection* vala_block_get_local_variables (ValaBlock* self); | GeeCollection* vala_block_get_local_variables (ValaBlock* self); | |||
gboolean vala_block_get_contains_jump_statement (ValaBlock* self); | gboolean vala_block_get_contains_jump_statement (ValaBlock* self); | |||
void vala_block_set_contains_jump_statement (ValaBlock* self, gboolean valu e); | void vala_block_set_contains_jump_statement (ValaBlock* self, gboolean valu e); | |||
GType vala_block_get_type (void); | GType vala_block_get_type (void); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valabooleanliteral.h | valabooleanliteral.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_IS_BOOLEAN_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_BOOLEAN_LITERAL)) | #define VALA_IS_BOOLEAN_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_BOOLEAN_LITERAL)) | |||
#define VALA_IS_BOOLEAN_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_BOOLEAN_LITERAL)) | #define VALA_IS_BOOLEAN_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_BOOLEAN_LITERAL)) | |||
#define VALA_BOOLEAN_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_BOOLEAN_LITERAL, ValaBooleanLiteralClass)) | #define VALA_BOOLEAN_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_BOOLEAN_LITERAL, ValaBooleanLiteralClass)) | |||
typedef struct _ValaBooleanLiteralPrivate ValaBooleanLiteralPrivate; | typedef struct _ValaBooleanLiteralPrivate ValaBooleanLiteralPrivate; | |||
/** | /** | |||
* Represents a literal boolean, i.e. true or false. | * Represents a literal boolean, i.e. true or false. | |||
*/ | */ | |||
struct _ValaBooleanLiteral { | struct _ValaBooleanLiteral { | |||
ValaLiteral parent; | ValaLiteral parent_instance; | |||
ValaBooleanLiteralPrivate * priv; | ValaBooleanLiteralPrivate * priv; | |||
}; | }; | |||
struct _ValaBooleanLiteralClass { | struct _ValaBooleanLiteralClass { | |||
ValaLiteralClass parent; | ValaLiteralClass parent_class; | |||
}; | }; | |||
ValaBooleanLiteral* vala_boolean_literal_new (gboolean b, ValaSourceReferen ce* source); | ValaBooleanLiteral* vala_boolean_literal_new (gboolean b, ValaSourceReferen ce* source); | |||
gboolean vala_boolean_literal_get_value (ValaBooleanLiteral* self); | gboolean vala_boolean_literal_get_value (ValaBooleanLiteral* self); | |||
void vala_boolean_literal_set_value (ValaBooleanLiteral* self, gboolean val ue); | void vala_boolean_literal_set_value (ValaBooleanLiteral* self, gboolean val ue); | |||
GType vala_boolean_literal_get_type (void); | GType vala_boolean_literal_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valabreakstatement.h | valabreakstatement.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_BREAK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_BREAK_STATEMENT)) | #define VALA_IS_BREAK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_BREAK_STATEMENT)) | |||
#define VALA_IS_BREAK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_BREAK_STATEMENT)) | #define VALA_IS_BREAK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_BREAK_STATEMENT)) | |||
#define VALA_BREAK_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_BREAK_STATEMENT, ValaBreakStatementClass)) | #define VALA_BREAK_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_BREAK_STATEMENT, ValaBreakStatementClass)) | |||
typedef struct _ValaBreakStatementPrivate ValaBreakStatementPrivate; | typedef struct _ValaBreakStatementPrivate ValaBreakStatementPrivate; | |||
/** | /** | |||
* Represents a break statement in the source code. | * Represents a break statement in the source code. | |||
*/ | */ | |||
struct _ValaBreakStatement { | struct _ValaBreakStatement { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaBreakStatementPrivate * priv; | ValaBreakStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaBreakStatementClass { | struct _ValaBreakStatementClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaBreakStatement* vala_break_statement_new (ValaSourceReference* source); | ValaBreakStatement* vala_break_statement_new (ValaSourceReference* source); | |||
GType vala_break_statement_get_type (void); | GType vala_break_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valacastexpression.h | valacastexpression.h | |||
---|---|---|---|---|
/* valacastexpression.vala | /* valacastexpression.vala | |||
* | * | |||
* Copyright (C) 2006 Jürg Billeter | * Copyright (C) 2006-2007 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_CAST_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_CAST_EXPRESSION)) | #define VALA_IS_CAST_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_CAST_EXPRESSION)) | |||
#define VALA_IS_CAST_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_CAST_EXPRESSION)) | #define VALA_IS_CAST_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_CAST_EXPRESSION)) | |||
#define VALA_CAST_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_CAST_EXPRESSION, ValaCastExpressionClass)) | #define VALA_CAST_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_CAST_EXPRESSION, ValaCastExpressionClass)) | |||
typedef struct _ValaCastExpressionPrivate ValaCastExpressionPrivate; | typedef struct _ValaCastExpressionPrivate ValaCastExpressionPrivate; | |||
/** | /** | |||
* Represents a type cast in the source code. | * Represents a type cast in the source code. | |||
*/ | */ | |||
struct _ValaCastExpression { | struct _ValaCastExpression { | |||
ValaExpression parent; | ValaExpression parent_instance; | |||
ValaCastExpressionPrivate * priv; | ValaCastExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaCastExpressionClass { | struct _ValaCastExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent_class; | |||
}; | }; | |||
ValaCastExpression* vala_cast_expression_new (ValaExpression* inner, ValaTy peReference* type_reference, ValaSourceReference* source_reference, gboolea n is_silent_cast); | ValaCastExpression* vala_cast_expression_new (ValaExpression* inner, ValaDa taType* type_reference, ValaSourceReference* source_reference, gboolean is_ silent_cast); | |||
ValaExpression* vala_cast_expression_get_inner (ValaCastExpression* self); | ValaExpression* vala_cast_expression_get_inner (ValaCastExpression* self); | |||
void vala_cast_expression_set_inner (ValaCastExpression* self, ValaExpressi on* value); | void vala_cast_expression_set_inner (ValaCastExpression* self, ValaExpressi on* value); | |||
ValaTypeReference* vala_cast_expression_get_type_reference (ValaCastExpress | ValaDataType* vala_cast_expression_get_type_reference (ValaCastExpression* | |||
ion* self); | self); | |||
void vala_cast_expression_set_type_reference (ValaCastExpression* self, Val | void vala_cast_expression_set_type_reference (ValaCastExpression* self, Val | |||
aTypeReference* value); | aDataType* value); | |||
gboolean vala_cast_expression_get_is_silent_cast (ValaCastExpression* self) ; | gboolean vala_cast_expression_get_is_silent_cast (ValaCastExpression* self) ; | |||
void vala_cast_expression_set_is_silent_cast (ValaCastExpression* self, gbo olean value); | void vala_cast_expression_set_is_silent_cast (ValaCastExpression* self, gbo olean value); | |||
GType vala_cast_expression_get_type (void); | GType vala_cast_expression_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 5 change blocks. | ||||
8 lines changed or deleted | 8 lines changed or added | |||
valacatchclause.h | valacatchclause.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
#define VALA_IS_CATCH_CLAUSE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_CATCH_CLAUSE)) | #define VALA_IS_CATCH_CLAUSE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_CATCH_CLAUSE)) | |||
#define VALA_IS_CATCH_CLAUSE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_CATCH_CLAUSE)) | #define VALA_IS_CATCH_CLAUSE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_CATCH_CLAUSE)) | |||
#define VALA_CATCH_CLAUSE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CATCH_CLAUSE, ValaCatchClauseClass)) | #define VALA_CATCH_CLAUSE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CATCH_CLAUSE, ValaCatchClauseClass)) | |||
typedef struct _ValaCatchClausePrivate ValaCatchClausePrivate; | typedef struct _ValaCatchClausePrivate ValaCatchClausePrivate; | |||
/** | /** | |||
* Represents a catch clause in a try statement in the source code. | * Represents a catch clause in a try statement in the source code. | |||
*/ | */ | |||
struct _ValaCatchClause { | struct _ValaCatchClause { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaCatchClausePrivate * priv; | ValaCatchClausePrivate * priv; | |||
}; | }; | |||
struct _ValaCatchClauseClass { | struct _ValaCatchClauseClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaCatchClause* vala_catch_clause_new (ValaTypeReference* type_reference, | ValaCatchClause* vala_catch_clause_new (ValaDataType* type_reference, const | |||
const char* variable_name, ValaBlock* body, ValaSourceReference* source_ref | char* variable_name, ValaBlock* body, ValaSourceReference* source_referenc | |||
erence); | e); | |||
ValaTypeReference* vala_catch_clause_get_type_reference (ValaCatchClause* s | ValaDataType* vala_catch_clause_get_type_reference (ValaCatchClause* self); | |||
elf); | void vala_catch_clause_set_type_reference (ValaCatchClause* self, ValaDataT | |||
void vala_catch_clause_set_type_reference (ValaCatchClause* self, ValaTypeR | ype* value); | |||
eference* value); | ||||
char* vala_catch_clause_get_variable_name (ValaCatchClause* self); | char* vala_catch_clause_get_variable_name (ValaCatchClause* self); | |||
void vala_catch_clause_set_variable_name (ValaCatchClause* self, const char * value); | void vala_catch_clause_set_variable_name (ValaCatchClause* self, const char * value); | |||
ValaBlock* vala_catch_clause_get_body (ValaCatchClause* self); | ValaBlock* vala_catch_clause_get_body (ValaCatchClause* self); | |||
void vala_catch_clause_set_body (ValaCatchClause* self, ValaBlock* value); | void vala_catch_clause_set_body (ValaCatchClause* self, ValaBlock* value); | |||
ValaVariableDeclarator* vala_catch_clause_get_variable_declarator (ValaCatc hClause* self); | ValaVariableDeclarator* vala_catch_clause_get_variable_declarator (ValaCatc hClause* self); | |||
void vala_catch_clause_set_variable_declarator (ValaCatchClause* self, Vala VariableDeclarator* value); | void vala_catch_clause_set_variable_declarator (ValaCatchClause* self, Vala VariableDeclarator* value); | |||
GType vala_catch_clause_get_type (void); | GType vala_catch_clause_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 3 change blocks. | ||||
9 lines changed or deleted | 8 lines changed or added | |||
valaccodearraycreationexpressionbinding.h | valaccodearraycreationexpressionbinding.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
#define VALA_CCODE_ARRAY_CREATION_EXPRESSION_BINDING_GET_CLASS(obj) (G_TYPE _INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_ARRAY_CREATION_EXPRESSION_BINDI NG, ValaCCodeArrayCreationExpressionBindingClass)) | #define VALA_CCODE_ARRAY_CREATION_EXPRESSION_BINDING_GET_CLASS(obj) (G_TYPE _INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_ARRAY_CREATION_EXPRESSION_BINDI NG, ValaCCodeArrayCreationExpressionBindingClass)) | |||
typedef struct _ValaCCodeArrayCreationExpressionBinding ValaCCodeArrayCreat ionExpressionBinding; | typedef struct _ValaCCodeArrayCreationExpressionBinding ValaCCodeArrayCreat ionExpressionBinding; | |||
typedef struct _ValaCCodeArrayCreationExpressionBindingClass ValaCCodeArray CreationExpressionBindingClass; | typedef struct _ValaCCodeArrayCreationExpressionBindingClass ValaCCodeArray CreationExpressionBindingClass; | |||
typedef struct _ValaCCodeArrayCreationExpressionBindingPrivate ValaCCodeArr ayCreationExpressionBindingPrivate; | typedef struct _ValaCCodeArrayCreationExpressionBindingPrivate ValaCCodeArr ayCreationExpressionBindingPrivate; | |||
/** | /** | |||
* The link between an assignment and generated code. | * The link between an assignment and generated code. | |||
*/ | */ | |||
struct _ValaCCodeArrayCreationExpressionBinding { | struct _ValaCCodeArrayCreationExpressionBinding { | |||
ValaCCodeExpressionBinding parent; | ValaCCodeExpressionBinding parent_instance; | |||
ValaCCodeArrayCreationExpressionBindingPrivate * priv; | ValaCCodeArrayCreationExpressionBindingPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeArrayCreationExpressionBindingClass { | struct _ValaCCodeArrayCreationExpressionBindingClass { | |||
ValaCCodeExpressionBindingClass parent; | ValaCCodeExpressionBindingClass parent_class; | |||
}; | }; | |||
ValaCCodeArrayCreationExpressionBinding* vala_ccode_array_creation_expressi on_binding_new (ValaCodeGenerator* codegen, ValaArrayCreationExpression* ar ray_creation_expression); | ValaCCodeArrayCreationExpressionBinding* vala_ccode_array_creation_expressi on_binding_new (ValaCodeGenerator* codegen, ValaArrayCreationExpression* ar ray_creation_expression); | |||
ValaArrayCreationExpression* vala_ccode_array_creation_expression_binding_g et_array_creation_expression (ValaCCodeArrayCreationExpressionBinding* self ); | ValaArrayCreationExpression* vala_ccode_array_creation_expression_binding_g et_array_creation_expression (ValaCCodeArrayCreationExpressionBinding* self ); | |||
void vala_ccode_array_creation_expression_binding_set_array_creation_expres sion (ValaCCodeArrayCreationExpressionBinding* self, ValaArrayCreationExpre ssion* value); | void vala_ccode_array_creation_expression_binding_set_array_creation_expres sion (ValaCCodeArrayCreationExpressionBinding* self, ValaArrayCreationExpre ssion* value); | |||
GType vala_ccode_array_creation_expression_binding_get_type (void); | GType vala_ccode_array_creation_expression_binding_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodeassignment.h | valaccodeassignment.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_CCODE_ASSIGNMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_CCODE_ASSIGNMENT, ValaCCodeAssignmentClass)) | #define VALA_CCODE_ASSIGNMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_CCODE_ASSIGNMENT, ValaCCodeAssignmentClass)) | |||
typedef struct _ValaCCodeAssignment ValaCCodeAssignment; | typedef struct _ValaCCodeAssignment ValaCCodeAssignment; | |||
typedef struct _ValaCCodeAssignmentClass ValaCCodeAssignmentClass; | typedef struct _ValaCCodeAssignmentClass ValaCCodeAssignmentClass; | |||
typedef struct _ValaCCodeAssignmentPrivate ValaCCodeAssignmentPrivate; | typedef struct _ValaCCodeAssignmentPrivate ValaCCodeAssignmentPrivate; | |||
/** | /** | |||
* Represents an assignment expression in the C code. | * Represents an assignment expression in the C code. | |||
*/ | */ | |||
struct _ValaCCodeAssignment { | struct _ValaCCodeAssignment { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent_instance; | |||
ValaCCodeAssignmentPrivate * priv; | ValaCCodeAssignmentPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeAssignmentClass { | struct _ValaCCodeAssignmentClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent_class; | |||
}; | }; | |||
typedef enum { | typedef enum { | |||
VALA_CCODE_ASSIGNMENT_OPERATOR_SIMPLE, | VALA_CCODE_ASSIGNMENT_OPERATOR_SIMPLE, | |||
VALA_CCODE_ASSIGNMENT_OPERATOR_BITWISE_OR, | VALA_CCODE_ASSIGNMENT_OPERATOR_BITWISE_OR, | |||
VALA_CCODE_ASSIGNMENT_OPERATOR_BITWISE_AND, | VALA_CCODE_ASSIGNMENT_OPERATOR_BITWISE_AND, | |||
VALA_CCODE_ASSIGNMENT_OPERATOR_BITWISE_XOR, | VALA_CCODE_ASSIGNMENT_OPERATOR_BITWISE_XOR, | |||
VALA_CCODE_ASSIGNMENT_OPERATOR_ADD, | VALA_CCODE_ASSIGNMENT_OPERATOR_ADD, | |||
VALA_CCODE_ASSIGNMENT_OPERATOR_SUB, | VALA_CCODE_ASSIGNMENT_OPERATOR_SUB, | |||
VALA_CCODE_ASSIGNMENT_OPERATOR_MUL, | VALA_CCODE_ASSIGNMENT_OPERATOR_MUL, | |||
VALA_CCODE_ASSIGNMENT_OPERATOR_DIV, | VALA_CCODE_ASSIGNMENT_OPERATOR_DIV, | |||
VALA_CCODE_ASSIGNMENT_OPERATOR_PERCENT, | VALA_CCODE_ASSIGNMENT_OPERATOR_PERCENT, | |||
VALA_CCODE_ASSIGNMENT_OPERATOR_SHIFT_LEFT, | VALA_CCODE_ASSIGNMENT_OPERATOR_SHIFT_LEFT, | |||
VALA_CCODE_ASSIGNMENT_OPERATOR_SHIFT_RIGHT | VALA_CCODE_ASSIGNMENT_OPERATOR_SHIFT_RIGHT | |||
} ValaCCodeAssignmentOperator; | } ValaCCodeAssignmentOperator; | |||
ValaCCodeAssignment* vala_ccode_assignment_new (ValaCCodeExpression* l, Val aCCodeExpression* r, ValaCCodeAssignmentOperator op); | ValaCCodeAssignment* vala_ccode_assignment_new (ValaCCodeExpression* l, Val aCCodeExpression* r, ValaCCodeAssignmentOperator op); | |||
ValaCCodeExpression* vala_ccode_assignment_get_left (ValaCCodeAssignment* s elf); | ValaCCodeExpression* vala_ccode_assignment_get_left (ValaCCodeAssignment* s elf); | |||
void vala_ccode_assignment_set_left (ValaCCodeAssignment* self, ValaCCodeEx pression* value); | ||||
ValaCCodeAssignmentOperator vala_ccode_assignment_get_operator (ValaCCodeAs signment* self); | ValaCCodeAssignmentOperator vala_ccode_assignment_get_operator (ValaCCodeAs signment* self); | |||
void vala_ccode_assignment_set_operator (ValaCCodeAssignment* self, ValaCCo deAssignmentOperator value); | void vala_ccode_assignment_set_operator (ValaCCodeAssignment* self, ValaCCo deAssignmentOperator value); | |||
ValaCCodeExpression* vala_ccode_assignment_get_right (ValaCCodeAssignment* self); | ValaCCodeExpression* vala_ccode_assignment_get_right (ValaCCodeAssignment* self); | |||
void vala_ccode_assignment_set_right (ValaCCodeAssignment* self, ValaCCodeE xpression* value); | ||||
GType vala_ccode_assignment_get_type (void); | GType vala_ccode_assignment_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 4 change blocks. | ||||
4 lines changed or deleted | 2 lines changed or added | |||
valaccodeassignmentbinding.h | valaccodeassignmentbinding.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
#define VALA_CCODE_ASSIGNMENT_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_C LASS ((obj), VALA_TYPE_CCODE_ASSIGNMENT_BINDING, ValaCCodeAssignmentBinding Class)) | #define VALA_CCODE_ASSIGNMENT_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_C LASS ((obj), VALA_TYPE_CCODE_ASSIGNMENT_BINDING, ValaCCodeAssignmentBinding Class)) | |||
typedef struct _ValaCCodeAssignmentBinding ValaCCodeAssignmentBinding; | typedef struct _ValaCCodeAssignmentBinding ValaCCodeAssignmentBinding; | |||
typedef struct _ValaCCodeAssignmentBindingClass ValaCCodeAssignmentBindingC lass; | typedef struct _ValaCCodeAssignmentBindingClass ValaCCodeAssignmentBindingC lass; | |||
typedef struct _ValaCCodeAssignmentBindingPrivate ValaCCodeAssignmentBindin gPrivate; | typedef struct _ValaCCodeAssignmentBindingPrivate ValaCCodeAssignmentBindin gPrivate; | |||
/** | /** | |||
* The link between an assignment and generated code. | * The link between an assignment and generated code. | |||
*/ | */ | |||
struct _ValaCCodeAssignmentBinding { | struct _ValaCCodeAssignmentBinding { | |||
ValaCCodeExpressionBinding parent; | ValaCCodeExpressionBinding parent_instance; | |||
ValaCCodeAssignmentBindingPrivate * priv; | ValaCCodeAssignmentBindingPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeAssignmentBindingClass { | struct _ValaCCodeAssignmentBindingClass { | |||
ValaCCodeExpressionBindingClass parent; | ValaCCodeExpressionBindingClass parent_class; | |||
}; | }; | |||
ValaCCodeAssignmentBinding* vala_ccode_assignment_binding_new (ValaCodeGene rator* codegen, ValaAssignment* assignment); | ValaCCodeAssignmentBinding* vala_ccode_assignment_binding_new (ValaCodeGene rator* codegen, ValaAssignment* assignment); | |||
ValaAssignment* vala_ccode_assignment_binding_get_assignment (ValaCCodeAssi gnmentBinding* self); | ValaAssignment* vala_ccode_assignment_binding_get_assignment (ValaCCodeAssi gnmentBinding* self); | |||
void vala_ccode_assignment_binding_set_assignment (ValaCCodeAssignmentBindi ng* self, ValaAssignment* value); | void vala_ccode_assignment_binding_set_assignment (ValaCCodeAssignmentBindi ng* self, ValaAssignment* value); | |||
GType vala_ccode_assignment_binding_get_type (void); | GType vala_ccode_assignment_binding_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodebinaryexpression.h | valaccodebinaryexpression.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_CCODE_BINARY_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CL ASS ((obj), VALA_TYPE_CCODE_BINARY_EXPRESSION, ValaCCodeBinaryExpressionCla ss)) | #define VALA_CCODE_BINARY_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CL ASS ((obj), VALA_TYPE_CCODE_BINARY_EXPRESSION, ValaCCodeBinaryExpressionCla ss)) | |||
typedef struct _ValaCCodeBinaryExpression ValaCCodeBinaryExpression; | typedef struct _ValaCCodeBinaryExpression ValaCCodeBinaryExpression; | |||
typedef struct _ValaCCodeBinaryExpressionClass ValaCCodeBinaryExpressionCla ss; | typedef struct _ValaCCodeBinaryExpressionClass ValaCCodeBinaryExpressionCla ss; | |||
typedef struct _ValaCCodeBinaryExpressionPrivate ValaCCodeBinaryExpressionP rivate; | typedef struct _ValaCCodeBinaryExpressionPrivate ValaCCodeBinaryExpressionP rivate; | |||
/** | /** | |||
* Represents an expression with two operands in C code. | * Represents an expression with two operands in C code. | |||
*/ | */ | |||
struct _ValaCCodeBinaryExpression { | struct _ValaCCodeBinaryExpression { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent_instance; | |||
ValaCCodeBinaryExpressionPrivate * priv; | ValaCCodeBinaryExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeBinaryExpressionClass { | struct _ValaCCodeBinaryExpressionClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent_class; | |||
}; | }; | |||
typedef enum { | typedef enum { | |||
VALA_CCODE_BINARY_OPERATOR_PLUS, | VALA_CCODE_BINARY_OPERATOR_PLUS, | |||
VALA_CCODE_BINARY_OPERATOR_MINUS, | VALA_CCODE_BINARY_OPERATOR_MINUS, | |||
VALA_CCODE_BINARY_OPERATOR_MUL, | VALA_CCODE_BINARY_OPERATOR_MUL, | |||
VALA_CCODE_BINARY_OPERATOR_DIV, | VALA_CCODE_BINARY_OPERATOR_DIV, | |||
VALA_CCODE_BINARY_OPERATOR_MOD, | VALA_CCODE_BINARY_OPERATOR_MOD, | |||
VALA_CCODE_BINARY_OPERATOR_SHIFT_LEFT, | VALA_CCODE_BINARY_OPERATOR_SHIFT_LEFT, | |||
VALA_CCODE_BINARY_OPERATOR_SHIFT_RIGHT, | VALA_CCODE_BINARY_OPERATOR_SHIFT_RIGHT, | |||
VALA_CCODE_BINARY_OPERATOR_LESS_THAN, | VALA_CCODE_BINARY_OPERATOR_LESS_THAN, | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodebinding.h | valaccodebinding.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_CCODE_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_CCODE_BINDING, ValaCCodeBindingClass)) | #define VALA_CCODE_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_CCODE_BINDING, ValaCCodeBindingClass)) | |||
typedef struct _ValaCCodeBinding ValaCCodeBinding; | typedef struct _ValaCCodeBinding ValaCCodeBinding; | |||
typedef struct _ValaCCodeBindingClass ValaCCodeBindingClass; | typedef struct _ValaCCodeBindingClass ValaCCodeBindingClass; | |||
typedef struct _ValaCCodeBindingPrivate ValaCCodeBindingPrivate; | typedef struct _ValaCCodeBindingPrivate ValaCCodeBindingPrivate; | |||
/** | /** | |||
* The link between a source code node and generated code. | * The link between a source code node and generated code. | |||
*/ | */ | |||
struct _ValaCCodeBinding { | struct _ValaCCodeBinding { | |||
ValaCodeBinding parent; | ValaCodeBinding parent_instance; | |||
ValaCCodeBindingPrivate * priv; | ValaCCodeBindingPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeBindingClass { | struct _ValaCCodeBindingClass { | |||
ValaCodeBindingClass parent; | ValaCodeBindingClass parent_class; | |||
}; | }; | |||
ValaCCodeGenerator* vala_ccode_binding_get_codegen (ValaCCodeBinding* self) ; | ValaCCodeGenerator* vala_ccode_binding_get_codegen (ValaCCodeBinding* self) ; | |||
void vala_ccode_binding_set_codegen (ValaCCodeBinding* self, ValaCCodeGener ator* value); | void vala_ccode_binding_set_codegen (ValaCCodeBinding* self, ValaCCodeGener ator* value); | |||
GType vala_ccode_binding_get_type (void); | GType vala_ccode_binding_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodeblock.h | valaccodeblock.h | |||
---|---|---|---|---|
skipping to change at line 49 | skipping to change at line 49 | |||
#define VALA_CCODE_BLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_BLOCK, ValaCCodeBlockClass)) | #define VALA_CCODE_BLOCK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_BLOCK, ValaCCodeBlockClass)) | |||
typedef struct _ValaCCodeBlock ValaCCodeBlock; | typedef struct _ValaCCodeBlock ValaCCodeBlock; | |||
typedef struct _ValaCCodeBlockClass ValaCCodeBlockClass; | typedef struct _ValaCCodeBlockClass ValaCCodeBlockClass; | |||
typedef struct _ValaCCodeBlockPrivate ValaCCodeBlockPrivate; | typedef struct _ValaCCodeBlockPrivate ValaCCodeBlockPrivate; | |||
/** | /** | |||
* Represents a C code block. | * Represents a C code block. | |||
*/ | */ | |||
struct _ValaCCodeBlock { | struct _ValaCCodeBlock { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent_instance; | |||
ValaCCodeBlockPrivate * priv; | ValaCCodeBlockPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeBlockClass { | struct _ValaCCodeBlockClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent_class; | |||
}; | }; | |||
void vala_ccode_block_prepend_statement (ValaCCodeBlock* self, ValaCCodeNod e* statement); | void vala_ccode_block_prepend_statement (ValaCCodeBlock* self, ValaCCodeNod e* statement); | |||
void vala_ccode_block_add_statement (ValaCCodeBlock* self, ValaCCodeNode* s tatement); | void vala_ccode_block_add_statement (ValaCCodeBlock* self, ValaCCodeNode* s tatement); | |||
ValaCCodeBlock* vala_ccode_block_new (void); | ValaCCodeBlock* vala_ccode_block_new (void); | |||
gboolean vala_ccode_block_get_suppress_newline (ValaCCodeBlock* self); | gboolean vala_ccode_block_get_suppress_newline (ValaCCodeBlock* self); | |||
void vala_ccode_block_set_suppress_newline (ValaCCodeBlock* self, gboolean value); | void vala_ccode_block_set_suppress_newline (ValaCCodeBlock* self, gboolean value); | |||
GType vala_ccode_block_get_type (void); | GType vala_ccode_block_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodebreakstatement.h | valaccodebreakstatement.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_CCODE_BREAK_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_CCODE_BREAK_STATEMENT, ValaCCodeBreakStatementClass)) | #define VALA_CCODE_BREAK_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_CCODE_BREAK_STATEMENT, ValaCCodeBreakStatementClass)) | |||
typedef struct _ValaCCodeBreakStatement ValaCCodeBreakStatement; | typedef struct _ValaCCodeBreakStatement ValaCCodeBreakStatement; | |||
typedef struct _ValaCCodeBreakStatementClass ValaCCodeBreakStatementClass; | typedef struct _ValaCCodeBreakStatementClass ValaCCodeBreakStatementClass; | |||
typedef struct _ValaCCodeBreakStatementPrivate ValaCCodeBreakStatementPriva te; | typedef struct _ValaCCodeBreakStatementPrivate ValaCCodeBreakStatementPriva te; | |||
/** | /** | |||
* Represents a break statement in the C code. | * Represents a break statement in the C code. | |||
*/ | */ | |||
struct _ValaCCodeBreakStatement { | struct _ValaCCodeBreakStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent_instance; | |||
ValaCCodeBreakStatementPrivate * priv; | ValaCCodeBreakStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeBreakStatementClass { | struct _ValaCCodeBreakStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent_class; | |||
}; | }; | |||
ValaCCodeBreakStatement* vala_ccode_break_statement_new (void); | ValaCCodeBreakStatement* vala_ccode_break_statement_new (void); | |||
GType vala_ccode_break_statement_get_type (void); | GType vala_ccode_break_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodecasestatement.h | valaccodecasestatement.h | |||
---|---|---|---|---|
skipping to change at line 49 | skipping to change at line 49 | |||
#define VALA_CCODE_CASE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_CASE_STATEMENT, ValaCCodeCaseStatementClass)) | #define VALA_CCODE_CASE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_CASE_STATEMENT, ValaCCodeCaseStatementClass)) | |||
typedef struct _ValaCCodeCaseStatement ValaCCodeCaseStatement; | typedef struct _ValaCCodeCaseStatement ValaCCodeCaseStatement; | |||
typedef struct _ValaCCodeCaseStatementClass ValaCCodeCaseStatementClass; | typedef struct _ValaCCodeCaseStatementClass ValaCCodeCaseStatementClass; | |||
typedef struct _ValaCCodeCaseStatementPrivate ValaCCodeCaseStatementPrivate ; | typedef struct _ValaCCodeCaseStatementPrivate ValaCCodeCaseStatementPrivate ; | |||
/** | /** | |||
* Represents a case block in a switch statement in C code. | * Represents a case block in a switch statement in C code. | |||
*/ | */ | |||
struct _ValaCCodeCaseStatement { | struct _ValaCCodeCaseStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent_instance; | |||
ValaCCodeCaseStatementPrivate * priv; | ValaCCodeCaseStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeCaseStatementClass { | struct _ValaCCodeCaseStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent_class; | |||
}; | }; | |||
ValaCCodeCaseStatement* vala_ccode_case_statement_new (ValaCCodeExpression* expression); | ValaCCodeCaseStatement* vala_ccode_case_statement_new (ValaCCodeExpression* expression); | |||
void vala_ccode_case_statement_add_statement (ValaCCodeCaseStatement* self, ValaCCodeStatement* stmt); | void vala_ccode_case_statement_add_statement (ValaCCodeCaseStatement* self, ValaCCodeStatement* stmt); | |||
ValaCCodeExpression* vala_ccode_case_statement_get_expression (ValaCCodeCas eStatement* self); | ValaCCodeExpression* vala_ccode_case_statement_get_expression (ValaCCodeCas eStatement* self); | |||
void vala_ccode_case_statement_set_expression (ValaCCodeCaseStatement* self , ValaCCodeExpression* value); | void vala_ccode_case_statement_set_expression (ValaCCodeCaseStatement* self , ValaCCodeExpression* value); | |||
GType vala_ccode_case_statement_get_type (void); | GType vala_ccode_case_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodecastexpression.h | valaccodecastexpression.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
#define VALA_CCODE_CAST_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_CCODE_CAST_EXPRESSION, ValaCCodeCastExpressionClass)) | #define VALA_CCODE_CAST_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_CCODE_CAST_EXPRESSION, ValaCCodeCastExpressionClass)) | |||
typedef struct _ValaCCodeCastExpression ValaCCodeCastExpression; | typedef struct _ValaCCodeCastExpression ValaCCodeCastExpression; | |||
typedef struct _ValaCCodeCastExpressionClass ValaCCodeCastExpressionClass; | typedef struct _ValaCCodeCastExpressionClass ValaCCodeCastExpressionClass; | |||
typedef struct _ValaCCodeCastExpressionPrivate ValaCCodeCastExpressionPriva te; | typedef struct _ValaCCodeCastExpressionPrivate ValaCCodeCastExpressionPriva te; | |||
/** | /** | |||
* Represents a type cast in the generated C code. | * Represents a type cast in the generated C code. | |||
*/ | */ | |||
struct _ValaCCodeCastExpression { | struct _ValaCCodeCastExpression { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent_instance; | |||
ValaCCodeCastExpressionPrivate * priv; | ValaCCodeCastExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeCastExpressionClass { | struct _ValaCCodeCastExpressionClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent_class; | |||
}; | }; | |||
ValaCCodeCastExpression* vala_ccode_cast_expression_new (ValaCCodeExpressio n* expr, const char* type); | ValaCCodeCastExpression* vala_ccode_cast_expression_new (ValaCCodeExpressio n* expr, const char* type); | |||
ValaCCodeExpression* vala_ccode_cast_expression_get_inner (ValaCCodeCastExp ression* self); | ValaCCodeExpression* vala_ccode_cast_expression_get_inner (ValaCCodeCastExp ression* self); | |||
void vala_ccode_cast_expression_set_inner (ValaCCodeCastExpression* self, V alaCCodeExpression* value); | void vala_ccode_cast_expression_set_inner (ValaCCodeCastExpression* self, V alaCCodeExpression* value); | |||
char* vala_ccode_cast_expression_get_type_name (ValaCCodeCastExpression* se lf); | char* vala_ccode_cast_expression_get_type_name (ValaCCodeCastExpression* se lf); | |||
void vala_ccode_cast_expression_set_type_name (ValaCCodeCastExpression* sel f, const char* value); | void vala_ccode_cast_expression_set_type_name (ValaCCodeCastExpression* sel f, const char* value); | |||
GType vala_ccode_cast_expression_get_type (void); | GType vala_ccode_cast_expression_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodecommaexpression.h | valaccodecommaexpression.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_CCODE_COMMA_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_COMMA_EXPRESSION, ValaCCodeCommaExpressionClass) ) | #define VALA_CCODE_COMMA_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_COMMA_EXPRESSION, ValaCCodeCommaExpressionClass) ) | |||
typedef struct _ValaCCodeCommaExpression ValaCCodeCommaExpression; | typedef struct _ValaCCodeCommaExpression ValaCCodeCommaExpression; | |||
typedef struct _ValaCCodeCommaExpressionClass ValaCCodeCommaExpressionClass ; | typedef struct _ValaCCodeCommaExpressionClass ValaCCodeCommaExpressionClass ; | |||
typedef struct _ValaCCodeCommaExpressionPrivate ValaCCodeCommaExpressionPri vate; | typedef struct _ValaCCodeCommaExpressionPrivate ValaCCodeCommaExpressionPri vate; | |||
/** | /** | |||
* Represents a comma separated expression list in the C code. | * Represents a comma separated expression list in the C code. | |||
*/ | */ | |||
struct _ValaCCodeCommaExpression { | struct _ValaCCodeCommaExpression { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent_instance; | |||
ValaCCodeCommaExpressionPrivate * priv; | ValaCCodeCommaExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeCommaExpressionClass { | struct _ValaCCodeCommaExpressionClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent_class; | |||
}; | }; | |||
void vala_ccode_comma_expression_append_expression (ValaCCodeCommaExpressio n* self, ValaCCodeExpression* expr); | void vala_ccode_comma_expression_append_expression (ValaCCodeCommaExpressio n* self, ValaCCodeExpression* expr); | |||
ValaCCodeCommaExpression* vala_ccode_comma_expression_new (void); | ValaCCodeCommaExpression* vala_ccode_comma_expression_new (void); | |||
GType vala_ccode_comma_expression_get_type (void); | GType vala_ccode_comma_expression_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodecomment.h | valaccodecomment.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
#define VALA_CCODE_COMMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_CCODE_COMMENT, ValaCCodeCommentClass)) | #define VALA_CCODE_COMMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_CCODE_COMMENT, ValaCCodeCommentClass)) | |||
typedef struct _ValaCCodeComment ValaCCodeComment; | typedef struct _ValaCCodeComment ValaCCodeComment; | |||
typedef struct _ValaCCodeCommentClass ValaCCodeCommentClass; | typedef struct _ValaCCodeCommentClass ValaCCodeCommentClass; | |||
typedef struct _ValaCCodeCommentPrivate ValaCCodeCommentPrivate; | typedef struct _ValaCCodeCommentPrivate ValaCCodeCommentPrivate; | |||
/** | /** | |||
* Represents a comment in the C code. | * Represents a comment in the C code. | |||
*/ | */ | |||
struct _ValaCCodeComment { | struct _ValaCCodeComment { | |||
ValaCCodeNode parent; | ValaCCodeNode parent_instance; | |||
ValaCCodeCommentPrivate * priv; | ValaCCodeCommentPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeCommentClass { | struct _ValaCCodeCommentClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent_class; | |||
}; | }; | |||
ValaCCodeComment* vala_ccode_comment_new (const char* _text); | ValaCCodeComment* vala_ccode_comment_new (const char* _text); | |||
char* vala_ccode_comment_get_text (ValaCCodeComment* self); | char* vala_ccode_comment_get_text (ValaCCodeComment* self); | |||
void vala_ccode_comment_set_text (ValaCCodeComment* self, const char* value ); | void vala_ccode_comment_set_text (ValaCCodeComment* self, const char* value ); | |||
GType vala_ccode_comment_get_type (void); | GType vala_ccode_comment_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodecompiler.h | valaccodecompiler.h | |||
---|---|---|---|---|
skipping to change at line 49 | skipping to change at line 49 | |||
#define VALA_CCODE_COMPILER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_CCODE_COMPILER, ValaCCodeCompilerClass)) | #define VALA_CCODE_COMPILER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_CCODE_COMPILER, ValaCCodeCompilerClass)) | |||
typedef struct _ValaCCodeCompiler ValaCCodeCompiler; | typedef struct _ValaCCodeCompiler ValaCCodeCompiler; | |||
typedef struct _ValaCCodeCompilerClass ValaCCodeCompilerClass; | typedef struct _ValaCCodeCompilerClass ValaCCodeCompilerClass; | |||
typedef struct _ValaCCodeCompilerPrivate ValaCCodeCompilerPrivate; | typedef struct _ValaCCodeCompilerPrivate ValaCCodeCompilerPrivate; | |||
/** | /** | |||
* Interface to the C compiler. | * Interface to the C compiler. | |||
*/ | */ | |||
struct _ValaCCodeCompiler { | struct _ValaCCodeCompiler { | |||
GObject parent; | GObject parent_instance; | |||
ValaCCodeCompilerPrivate * priv; | ValaCCodeCompilerPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeCompilerClass { | struct _ValaCCodeCompilerClass { | |||
GObjectClass parent; | GObjectClass parent_class; | |||
}; | }; | |||
ValaCCodeCompiler* vala_ccode_compiler_new (void); | ValaCCodeCompiler* vala_ccode_compiler_new (void); | |||
void vala_ccode_compiler_compile (ValaCCodeCompiler* self, ValaCodeContext* context, const char* cc_command, char** cc_options); | void vala_ccode_compiler_compile (ValaCCodeCompiler* self, ValaCodeContext* context, const char* cc_command, char** cc_options); | |||
GType vala_ccode_compiler_get_type (void); | GType vala_ccode_compiler_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodeconditionalexpression.h | valaccodeconditionalexpression.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_CCODE_CONDITIONAL_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_G ET_CLASS ((obj), VALA_TYPE_CCODE_CONDITIONAL_EXPRESSION, ValaCCodeCondition alExpressionClass)) | #define VALA_CCODE_CONDITIONAL_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_G ET_CLASS ((obj), VALA_TYPE_CCODE_CONDITIONAL_EXPRESSION, ValaCCodeCondition alExpressionClass)) | |||
typedef struct _ValaCCodeConditionalExpression ValaCCodeConditionalExpressi on; | typedef struct _ValaCCodeConditionalExpression ValaCCodeConditionalExpressi on; | |||
typedef struct _ValaCCodeConditionalExpressionClass ValaCCodeConditionalExp ressionClass; | typedef struct _ValaCCodeConditionalExpressionClass ValaCCodeConditionalExp ressionClass; | |||
typedef struct _ValaCCodeConditionalExpressionPrivate ValaCCodeConditionalE xpressionPrivate; | typedef struct _ValaCCodeConditionalExpressionPrivate ValaCCodeConditionalE xpressionPrivate; | |||
/** | /** | |||
* Represents a conditional expression in C code. | * Represents a conditional expression in C code. | |||
*/ | */ | |||
struct _ValaCCodeConditionalExpression { | struct _ValaCCodeConditionalExpression { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent_instance; | |||
ValaCCodeConditionalExpressionPrivate * priv; | ValaCCodeConditionalExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeConditionalExpressionClass { | struct _ValaCCodeConditionalExpressionClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent_class; | |||
}; | }; | |||
ValaCCodeConditionalExpression* vala_ccode_conditional_expression_new (Vala CCodeExpression* cond, ValaCCodeExpression* true_expr, ValaCCodeExpression* false_expr); | ValaCCodeConditionalExpression* vala_ccode_conditional_expression_new (Vala CCodeExpression* cond, ValaCCodeExpression* true_expr, ValaCCodeExpression* false_expr); | |||
ValaCCodeExpression* vala_ccode_conditional_expression_get_condition (ValaC CodeConditionalExpression* self); | ValaCCodeExpression* vala_ccode_conditional_expression_get_condition (ValaC CodeConditionalExpression* self); | |||
void vala_ccode_conditional_expression_set_condition (ValaCCodeConditionalE xpression* self, ValaCCodeExpression* value); | void vala_ccode_conditional_expression_set_condition (ValaCCodeConditionalE xpression* self, ValaCCodeExpression* value); | |||
ValaCCodeExpression* vala_ccode_conditional_expression_get_true_expression (ValaCCodeConditionalExpression* self); | ValaCCodeExpression* vala_ccode_conditional_expression_get_true_expression (ValaCCodeConditionalExpression* self); | |||
void vala_ccode_conditional_expression_set_true_expression (ValaCCodeCondit ionalExpression* self, ValaCCodeExpression* value); | void vala_ccode_conditional_expression_set_true_expression (ValaCCodeCondit ionalExpression* self, ValaCCodeExpression* value); | |||
ValaCCodeExpression* vala_ccode_conditional_expression_get_false_expression (ValaCCodeConditionalExpression* self); | ValaCCodeExpression* vala_ccode_conditional_expression_get_false_expression (ValaCCodeConditionalExpression* self); | |||
void vala_ccode_conditional_expression_set_false_expression (ValaCCodeCondi tionalExpression* self, ValaCCodeExpression* value); | void vala_ccode_conditional_expression_set_false_expression (ValaCCodeCondi tionalExpression* self, ValaCCodeExpression* value); | |||
GType vala_ccode_conditional_expression_get_type (void); | GType vala_ccode_conditional_expression_get_type (void); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodeconstant.h | valaccodeconstant.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
#define VALA_CCODE_CONSTANT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_CCODE_CONSTANT, ValaCCodeConstantClass)) | #define VALA_CCODE_CONSTANT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_CCODE_CONSTANT, ValaCCodeConstantClass)) | |||
typedef struct _ValaCCodeConstant ValaCCodeConstant; | typedef struct _ValaCCodeConstant ValaCCodeConstant; | |||
typedef struct _ValaCCodeConstantClass ValaCCodeConstantClass; | typedef struct _ValaCCodeConstantClass ValaCCodeConstantClass; | |||
typedef struct _ValaCCodeConstantPrivate ValaCCodeConstantPrivate; | typedef struct _ValaCCodeConstantPrivate ValaCCodeConstantPrivate; | |||
/** | /** | |||
* A constant C expression. | * A constant C expression. | |||
*/ | */ | |||
struct _ValaCCodeConstant { | struct _ValaCCodeConstant { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent_instance; | |||
ValaCCodeConstantPrivate * priv; | ValaCCodeConstantPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeConstantClass { | struct _ValaCCodeConstantClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent_class; | |||
}; | }; | |||
ValaCCodeConstant* vala_ccode_constant_new (const char* _name); | ValaCCodeConstant* vala_ccode_constant_new (const char* _name); | |||
char* vala_ccode_constant_get_name (ValaCCodeConstant* self); | char* vala_ccode_constant_get_name (ValaCCodeConstant* self); | |||
void vala_ccode_constant_set_name (ValaCCodeConstant* self, const char* val ue); | void vala_ccode_constant_set_name (ValaCCodeConstant* self, const char* val ue); | |||
GType vala_ccode_constant_get_type (void); | GType vala_ccode_constant_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodecontinuestatement.h | valaccodecontinuestatement.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_CCODE_CONTINUE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_C LASS ((obj), VALA_TYPE_CCODE_CONTINUE_STATEMENT, ValaCCodeContinueStatement Class)) | #define VALA_CCODE_CONTINUE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_C LASS ((obj), VALA_TYPE_CCODE_CONTINUE_STATEMENT, ValaCCodeContinueStatement Class)) | |||
typedef struct _ValaCCodeContinueStatement ValaCCodeContinueStatement; | typedef struct _ValaCCodeContinueStatement ValaCCodeContinueStatement; | |||
typedef struct _ValaCCodeContinueStatementClass ValaCCodeContinueStatementC lass; | typedef struct _ValaCCodeContinueStatementClass ValaCCodeContinueStatementC lass; | |||
typedef struct _ValaCCodeContinueStatementPrivate ValaCCodeContinueStatemen tPrivate; | typedef struct _ValaCCodeContinueStatementPrivate ValaCCodeContinueStatemen tPrivate; | |||
/** | /** | |||
* Represents a continue statement in the C code. | * Represents a continue statement in the C code. | |||
*/ | */ | |||
struct _ValaCCodeContinueStatement { | struct _ValaCCodeContinueStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent_instance; | |||
ValaCCodeContinueStatementPrivate * priv; | ValaCCodeContinueStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeContinueStatementClass { | struct _ValaCCodeContinueStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent_class; | |||
}; | }; | |||
ValaCCodeContinueStatement* vala_ccode_continue_statement_new (void); | ValaCCodeContinueStatement* vala_ccode_continue_statement_new (void); | |||
GType vala_ccode_continue_statement_get_type (void); | GType vala_ccode_continue_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodedeclaration.h | valaccodedeclaration.h | |||
---|---|---|---|---|
skipping to change at line 52 | skipping to change at line 52 | |||
#define VALA_CCODE_DECLARATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_CCODE_DECLARATION, ValaCCodeDeclarationClass)) | #define VALA_CCODE_DECLARATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_CCODE_DECLARATION, ValaCCodeDeclarationClass)) | |||
typedef struct _ValaCCodeDeclaration ValaCCodeDeclaration; | typedef struct _ValaCCodeDeclaration ValaCCodeDeclaration; | |||
typedef struct _ValaCCodeDeclarationClass ValaCCodeDeclarationClass; | typedef struct _ValaCCodeDeclarationClass ValaCCodeDeclarationClass; | |||
typedef struct _ValaCCodeDeclarationPrivate ValaCCodeDeclarationPrivate; | typedef struct _ValaCCodeDeclarationPrivate ValaCCodeDeclarationPrivate; | |||
/** | /** | |||
* Represents a local variable declaration in the C code. | * Represents a local variable declaration in the C code. | |||
*/ | */ | |||
struct _ValaCCodeDeclaration { | struct _ValaCCodeDeclaration { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent_instance; | |||
ValaCCodeDeclarationPrivate * priv; | ValaCCodeDeclarationPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeDeclarationClass { | struct _ValaCCodeDeclarationClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent_class; | |||
}; | }; | |||
ValaCCodeDeclaration* vala_ccode_declaration_new (const char* type_name); | ValaCCodeDeclaration* vala_ccode_declaration_new (const char* type_name); | |||
void vala_ccode_declaration_add_declarator (ValaCCodeDeclaration* self, Val aCCodeDeclarator* decl); | void vala_ccode_declaration_add_declarator (ValaCCodeDeclaration* self, Val aCCodeDeclarator* decl); | |||
char* vala_ccode_declaration_get_type_name (ValaCCodeDeclaration* self); | char* vala_ccode_declaration_get_type_name (ValaCCodeDeclaration* self); | |||
void vala_ccode_declaration_set_type_name (ValaCCodeDeclaration* self, cons t char* value); | void vala_ccode_declaration_set_type_name (ValaCCodeDeclaration* self, cons t char* value); | |||
ValaCCodeModifiers vala_ccode_declaration_get_modifiers (ValaCCodeDeclarati on* self); | ValaCCodeModifiers vala_ccode_declaration_get_modifiers (ValaCCodeDeclarati on* self); | |||
void vala_ccode_declaration_set_modifiers (ValaCCodeDeclaration* self, Vala CCodeModifiers value); | void vala_ccode_declaration_set_modifiers (ValaCCodeDeclaration* self, Vala CCodeModifiers value); | |||
GType vala_ccode_declaration_get_type (void); | GType vala_ccode_declaration_get_type (void); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodedeclarator.h | valaccodedeclarator.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_CCODE_DECLARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_CCODE_DECLARATOR, ValaCCodeDeclaratorClass)) | #define VALA_CCODE_DECLARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_CCODE_DECLARATOR, ValaCCodeDeclaratorClass)) | |||
typedef struct _ValaCCodeDeclarator ValaCCodeDeclarator; | typedef struct _ValaCCodeDeclarator ValaCCodeDeclarator; | |||
typedef struct _ValaCCodeDeclaratorClass ValaCCodeDeclaratorClass; | typedef struct _ValaCCodeDeclaratorClass ValaCCodeDeclaratorClass; | |||
typedef struct _ValaCCodeDeclaratorPrivate ValaCCodeDeclaratorPrivate; | typedef struct _ValaCCodeDeclaratorPrivate ValaCCodeDeclaratorPrivate; | |||
/** | /** | |||
* Represents a variable or function pointer declarator in the C code. | * Represents a variable or function pointer declarator in the C code. | |||
*/ | */ | |||
struct _ValaCCodeDeclarator { | struct _ValaCCodeDeclarator { | |||
ValaCCodeNode parent; | ValaCCodeNode parent_instance; | |||
ValaCCodeDeclaratorPrivate * priv; | ValaCCodeDeclaratorPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeDeclaratorClass { | struct _ValaCCodeDeclaratorClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent_class; | |||
void (*write_initialization) (ValaCCodeDeclarator* self, ValaCCodeWr iter* writer); | void (*write_initialization) (ValaCCodeDeclarator* self, ValaCCodeWr iter* writer); | |||
}; | }; | |||
void vala_ccode_declarator_write_initialization (ValaCCodeDeclarator* self, ValaCCodeWriter* writer); | void vala_ccode_declarator_write_initialization (ValaCCodeDeclarator* self, ValaCCodeWriter* writer); | |||
GType vala_ccode_declarator_get_type (void); | GType vala_ccode_declarator_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodedostatement.h | valaccodedostatement.h | |||
---|---|---|---|---|
skipping to change at line 49 | skipping to change at line 49 | |||
#define VALA_CCODE_DO_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_CCODE_DO_STATEMENT, ValaCCodeDoStatementClass)) | #define VALA_CCODE_DO_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_CCODE_DO_STATEMENT, ValaCCodeDoStatementClass)) | |||
typedef struct _ValaCCodeDoStatement ValaCCodeDoStatement; | typedef struct _ValaCCodeDoStatement ValaCCodeDoStatement; | |||
typedef struct _ValaCCodeDoStatementClass ValaCCodeDoStatementClass; | typedef struct _ValaCCodeDoStatementClass ValaCCodeDoStatementClass; | |||
typedef struct _ValaCCodeDoStatementPrivate ValaCCodeDoStatementPrivate; | typedef struct _ValaCCodeDoStatementPrivate ValaCCodeDoStatementPrivate; | |||
/** | /** | |||
* Represents a do iteration statement in the C code. | * Represents a do iteration statement in the C code. | |||
*/ | */ | |||
struct _ValaCCodeDoStatement { | struct _ValaCCodeDoStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent_instance; | |||
ValaCCodeDoStatementPrivate * priv; | ValaCCodeDoStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeDoStatementClass { | struct _ValaCCodeDoStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent_class; | |||
}; | }; | |||
ValaCCodeDoStatement* vala_ccode_do_statement_new (ValaCCodeStatement* stmt , ValaCCodeExpression* cond); | ValaCCodeDoStatement* vala_ccode_do_statement_new (ValaCCodeStatement* stmt , ValaCCodeExpression* cond); | |||
ValaCCodeStatement* vala_ccode_do_statement_get_body (ValaCCodeDoStatement* self); | ValaCCodeStatement* vala_ccode_do_statement_get_body (ValaCCodeDoStatement* self); | |||
void vala_ccode_do_statement_set_body (ValaCCodeDoStatement* self, ValaCCod eStatement* value); | void vala_ccode_do_statement_set_body (ValaCCodeDoStatement* self, ValaCCod eStatement* value); | |||
ValaCCodeExpression* vala_ccode_do_statement_get_condition (ValaCCodeDoStat ement* self); | ValaCCodeExpression* vala_ccode_do_statement_get_condition (ValaCCodeDoStat ement* self); | |||
void vala_ccode_do_statement_set_condition (ValaCCodeDoStatement* self, Val aCCodeExpression* value); | void vala_ccode_do_statement_set_condition (ValaCCodeDoStatement* self, Val aCCodeExpression* value); | |||
GType vala_ccode_do_statement_get_type (void); | GType vala_ccode_do_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodeelementaccess.h | valaccodeelementaccess.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
#define VALA_CCODE_ELEMENT_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_ELEMENT_ACCESS, ValaCCodeElementAccessClass)) | #define VALA_CCODE_ELEMENT_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_ELEMENT_ACCESS, ValaCCodeElementAccessClass)) | |||
typedef struct _ValaCCodeElementAccess ValaCCodeElementAccess; | typedef struct _ValaCCodeElementAccess ValaCCodeElementAccess; | |||
typedef struct _ValaCCodeElementAccessClass ValaCCodeElementAccessClass; | typedef struct _ValaCCodeElementAccessClass ValaCCodeElementAccessClass; | |||
typedef struct _ValaCCodeElementAccessPrivate ValaCCodeElementAccessPrivate ; | typedef struct _ValaCCodeElementAccessPrivate ValaCCodeElementAccessPrivate ; | |||
/** | /** | |||
* Represents an access to an array member in the C code. | * Represents an access to an array member in the C code. | |||
*/ | */ | |||
struct _ValaCCodeElementAccess { | struct _ValaCCodeElementAccess { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent_instance; | |||
ValaCCodeElementAccessPrivate * priv; | ValaCCodeElementAccessPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeElementAccessClass { | struct _ValaCCodeElementAccessClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent_class; | |||
}; | }; | |||
ValaCCodeElementAccess* vala_ccode_element_access_new (ValaCCodeExpression* cont, ValaCCodeExpression* i); | ValaCCodeElementAccess* vala_ccode_element_access_new (ValaCCodeExpression* cont, ValaCCodeExpression* i); | |||
ValaCCodeExpression* vala_ccode_element_access_get_container (ValaCCodeElem entAccess* self); | ValaCCodeExpression* vala_ccode_element_access_get_container (ValaCCodeElem entAccess* self); | |||
void vala_ccode_element_access_set_container (ValaCCodeElementAccess* self, ValaCCodeExpression* value); | void vala_ccode_element_access_set_container (ValaCCodeElementAccess* self, ValaCCodeExpression* value); | |||
ValaCCodeExpression* vala_ccode_element_access_get_index (ValaCCodeElementA ccess* self); | ValaCCodeExpression* vala_ccode_element_access_get_index (ValaCCodeElementA ccess* self); | |||
void vala_ccode_element_access_set_index (ValaCCodeElementAccess* self, Val aCCodeExpression* value); | void vala_ccode_element_access_set_index (ValaCCodeElementAccess* self, Val aCCodeExpression* value); | |||
GType vala_ccode_element_access_get_type (void); | GType vala_ccode_element_access_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodeelementaccessbinding.h | valaccodeelementaccessbinding.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
#define VALA_CCODE_ELEMENT_ACCESS_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_G ET_CLASS ((obj), VALA_TYPE_CCODE_ELEMENT_ACCESS_BINDING, ValaCCodeElementAc cessBindingClass)) | #define VALA_CCODE_ELEMENT_ACCESS_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_G ET_CLASS ((obj), VALA_TYPE_CCODE_ELEMENT_ACCESS_BINDING, ValaCCodeElementAc cessBindingClass)) | |||
typedef struct _ValaCCodeElementAccessBinding ValaCCodeElementAccessBinding ; | typedef struct _ValaCCodeElementAccessBinding ValaCCodeElementAccessBinding ; | |||
typedef struct _ValaCCodeElementAccessBindingClass ValaCCodeElementAccessBi ndingClass; | typedef struct _ValaCCodeElementAccessBindingClass ValaCCodeElementAccessBi ndingClass; | |||
typedef struct _ValaCCodeElementAccessBindingPrivate ValaCCodeElementAccess BindingPrivate; | typedef struct _ValaCCodeElementAccessBindingPrivate ValaCCodeElementAccess BindingPrivate; | |||
/** | /** | |||
* The link between an element access and generated code. | * The link between an element access and generated code. | |||
*/ | */ | |||
struct _ValaCCodeElementAccessBinding { | struct _ValaCCodeElementAccessBinding { | |||
ValaCCodeExpressionBinding parent; | ValaCCodeExpressionBinding parent_instance; | |||
ValaCCodeElementAccessBindingPrivate * priv; | ValaCCodeElementAccessBindingPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeElementAccessBindingClass { | struct _ValaCCodeElementAccessBindingClass { | |||
ValaCCodeExpressionBindingClass parent; | ValaCCodeExpressionBindingClass parent_class; | |||
}; | }; | |||
ValaCCodeElementAccessBinding* vala_ccode_element_access_binding_new (ValaC odeGenerator* codegen, ValaElementAccess* element_access); | ValaCCodeElementAccessBinding* vala_ccode_element_access_binding_new (ValaC odeGenerator* codegen, ValaElementAccess* element_access); | |||
ValaElementAccess* vala_ccode_element_access_binding_get_element_access (Va laCCodeElementAccessBinding* self); | ValaElementAccess* vala_ccode_element_access_binding_get_element_access (Va laCCodeElementAccessBinding* self); | |||
void vala_ccode_element_access_binding_set_element_access (ValaCCodeElement AccessBinding* self, ValaElementAccess* value); | void vala_ccode_element_access_binding_set_element_access (ValaCCodeElement AccessBinding* self, ValaElementAccess* value); | |||
GType vala_ccode_element_access_binding_get_type (void); | GType vala_ccode_element_access_binding_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodeemptystatement.h | valaccodeemptystatement.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_CCODE_EMPTY_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_CCODE_EMPTY_STATEMENT, ValaCCodeEmptyStatementClass)) | #define VALA_CCODE_EMPTY_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_CCODE_EMPTY_STATEMENT, ValaCCodeEmptyStatementClass)) | |||
typedef struct _ValaCCodeEmptyStatement ValaCCodeEmptyStatement; | typedef struct _ValaCCodeEmptyStatement ValaCCodeEmptyStatement; | |||
typedef struct _ValaCCodeEmptyStatementClass ValaCCodeEmptyStatementClass; | typedef struct _ValaCCodeEmptyStatementClass ValaCCodeEmptyStatementClass; | |||
typedef struct _ValaCCodeEmptyStatementPrivate ValaCCodeEmptyStatementPriva te; | typedef struct _ValaCCodeEmptyStatementPrivate ValaCCodeEmptyStatementPriva te; | |||
/** | /** | |||
* Represents an empty statement in the C code. | * Represents an empty statement in the C code. | |||
*/ | */ | |||
struct _ValaCCodeEmptyStatement { | struct _ValaCCodeEmptyStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent_instance; | |||
ValaCCodeEmptyStatementPrivate * priv; | ValaCCodeEmptyStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeEmptyStatementClass { | struct _ValaCCodeEmptyStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent_class; | |||
}; | }; | |||
ValaCCodeEmptyStatement* vala_ccode_empty_statement_new (void); | ValaCCodeEmptyStatement* vala_ccode_empty_statement_new (void); | |||
GType vala_ccode_empty_statement_get_type (void); | GType vala_ccode_empty_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodeenum.h | valaccodeenum.h | |||
---|---|---|---|---|
skipping to change at line 51 | skipping to change at line 51 | |||
#define VALA_CCODE_ENUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_CCODE_ENUM, ValaCCodeEnumClass)) | #define VALA_CCODE_ENUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_CCODE_ENUM, ValaCCodeEnumClass)) | |||
typedef struct _ValaCCodeEnum ValaCCodeEnum; | typedef struct _ValaCCodeEnum ValaCCodeEnum; | |||
typedef struct _ValaCCodeEnumClass ValaCCodeEnumClass; | typedef struct _ValaCCodeEnumClass ValaCCodeEnumClass; | |||
typedef struct _ValaCCodeEnumPrivate ValaCCodeEnumPrivate; | typedef struct _ValaCCodeEnumPrivate ValaCCodeEnumPrivate; | |||
/** | /** | |||
* Represents an enum in the C code. | * Represents an enum in the C code. | |||
*/ | */ | |||
struct _ValaCCodeEnum { | struct _ValaCCodeEnum { | |||
ValaCCodeNode parent; | ValaCCodeNode parent_instance; | |||
ValaCCodeEnumPrivate * priv; | ValaCCodeEnumPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeEnumClass { | struct _ValaCCodeEnumClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent_class; | |||
}; | }; | |||
ValaCCodeEnum* vala_ccode_enum_new (const char* name); | ValaCCodeEnum* vala_ccode_enum_new (const char* name); | |||
void vala_ccode_enum_add_value (ValaCCodeEnum* self, ValaCCodeEnumValue* va lue); | void vala_ccode_enum_add_value (ValaCCodeEnum* self, ValaCCodeEnumValue* va lue); | |||
char* vala_ccode_enum_get_name (ValaCCodeEnum* self); | char* vala_ccode_enum_get_name (ValaCCodeEnum* self); | |||
void vala_ccode_enum_set_name (ValaCCodeEnum* self, const char* value); | void vala_ccode_enum_set_name (ValaCCodeEnum* self, const char* value); | |||
GType vala_ccode_enum_get_type (void); | GType vala_ccode_enum_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodeenumvalue.h | valaccodeenumvalue.h | |||
---|---|---|---|---|
skipping to change at line 51 | skipping to change at line 51 | |||
#define VALA_CCODE_ENUM_VALUE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_CCODE_ENUM_VALUE, ValaCCodeEnumValueClass)) | #define VALA_CCODE_ENUM_VALUE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_CCODE_ENUM_VALUE, ValaCCodeEnumValueClass)) | |||
typedef struct _ValaCCodeEnumValue ValaCCodeEnumValue; | typedef struct _ValaCCodeEnumValue ValaCCodeEnumValue; | |||
typedef struct _ValaCCodeEnumValueClass ValaCCodeEnumValueClass; | typedef struct _ValaCCodeEnumValueClass ValaCCodeEnumValueClass; | |||
typedef struct _ValaCCodeEnumValuePrivate ValaCCodeEnumValuePrivate; | typedef struct _ValaCCodeEnumValuePrivate ValaCCodeEnumValuePrivate; | |||
/** | /** | |||
* Represents an enum value in the C code. | * Represents an enum value in the C code. | |||
*/ | */ | |||
struct _ValaCCodeEnumValue { | struct _ValaCCodeEnumValue { | |||
ValaCCodeNode parent; | ValaCCodeNode parent_instance; | |||
ValaCCodeEnumValuePrivate * priv; | ValaCCodeEnumValuePrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeEnumValueClass { | struct _ValaCCodeEnumValueClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent_class; | |||
}; | }; | |||
ValaCCodeEnumValue* vala_ccode_enum_value_new (const char* name, ValaCCodeE xpression* value); | ValaCCodeEnumValue* vala_ccode_enum_value_new (const char* name, ValaCCodeE xpression* value); | |||
char* vala_ccode_enum_value_get_name (ValaCCodeEnumValue* self); | char* vala_ccode_enum_value_get_name (ValaCCodeEnumValue* self); | |||
void vala_ccode_enum_value_set_name (ValaCCodeEnumValue* self, const char* value); | void vala_ccode_enum_value_set_name (ValaCCodeEnumValue* self, const char* value); | |||
ValaCCodeExpression* vala_ccode_enum_value_get_value (ValaCCodeEnumValue* s elf); | ValaCCodeExpression* vala_ccode_enum_value_get_value (ValaCCodeEnumValue* s elf); | |||
void vala_ccode_enum_value_set_value (ValaCCodeEnumValue* self, ValaCCodeEx pression* value); | void vala_ccode_enum_value_set_value (ValaCCodeEnumValue* self, ValaCCodeEx pression* value); | |||
GType vala_ccode_enum_value_get_type (void); | GType vala_ccode_enum_value_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodeexpression.h | valaccodeexpression.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
#define VALA_CCODE_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_CCODE_EXPRESSION, ValaCCodeExpressionClass)) | #define VALA_CCODE_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_CCODE_EXPRESSION, ValaCCodeExpressionClass)) | |||
typedef struct _ValaCCodeExpression ValaCCodeExpression; | typedef struct _ValaCCodeExpression ValaCCodeExpression; | |||
typedef struct _ValaCCodeExpressionClass ValaCCodeExpressionClass; | typedef struct _ValaCCodeExpressionClass ValaCCodeExpressionClass; | |||
typedef struct _ValaCCodeExpressionPrivate ValaCCodeExpressionPrivate; | typedef struct _ValaCCodeExpressionPrivate ValaCCodeExpressionPrivate; | |||
/** | /** | |||
* Represents an expression node in the C code tree. | * Represents an expression node in the C code tree. | |||
*/ | */ | |||
struct _ValaCCodeExpression { | struct _ValaCCodeExpression { | |||
ValaCCodeNode parent; | ValaCCodeNode parent_instance; | |||
ValaCCodeExpressionPrivate * priv; | ValaCCodeExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeExpressionClass { | struct _ValaCCodeExpressionClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent_class; | |||
}; | }; | |||
GType vala_ccode_expression_get_type (void); | GType vala_ccode_expression_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodeexpressionbinding.h | valaccodeexpressionbinding.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_CCODE_EXPRESSION_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_C LASS ((obj), VALA_TYPE_CCODE_EXPRESSION_BINDING, ValaCCodeExpressionBinding Class)) | #define VALA_CCODE_EXPRESSION_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_C LASS ((obj), VALA_TYPE_CCODE_EXPRESSION_BINDING, ValaCCodeExpressionBinding Class)) | |||
typedef struct _ValaCCodeExpressionBinding ValaCCodeExpressionBinding; | typedef struct _ValaCCodeExpressionBinding ValaCCodeExpressionBinding; | |||
typedef struct _ValaCCodeExpressionBindingClass ValaCCodeExpressionBindingC lass; | typedef struct _ValaCCodeExpressionBindingClass ValaCCodeExpressionBindingC lass; | |||
typedef struct _ValaCCodeExpressionBindingPrivate ValaCCodeExpressionBindin gPrivate; | typedef struct _ValaCCodeExpressionBindingPrivate ValaCCodeExpressionBindin gPrivate; | |||
/** | /** | |||
* The link between an expression and generated code. | * The link between an expression and generated code. | |||
*/ | */ | |||
struct _ValaCCodeExpressionBinding { | struct _ValaCCodeExpressionBinding { | |||
ValaCCodeBinding parent; | ValaCCodeBinding parent_instance; | |||
ValaCCodeExpressionBindingPrivate * priv; | ValaCCodeExpressionBindingPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeExpressionBindingClass { | struct _ValaCCodeExpressionBindingClass { | |||
ValaCCodeBindingClass parent; | ValaCCodeBindingClass parent_class; | |||
}; | }; | |||
ValaCCodeExpression* vala_ccode_expression_binding_get_codenode (ValaCCodeE xpressionBinding* self); | ValaCCodeExpression* vala_ccode_expression_binding_get_codenode (ValaCCodeE xpressionBinding* self); | |||
void vala_ccode_expression_binding_set_codenode (ValaCCodeExpressionBinding * self, ValaCCodeExpression* value); | void vala_ccode_expression_binding_set_codenode (ValaCCodeExpressionBinding * self, ValaCCodeExpression* value); | |||
GType vala_ccode_expression_binding_get_type (void); | GType vala_ccode_expression_binding_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodeexpressionstatement.h | valaccodeexpressionstatement.h | |||
---|---|---|---|---|
skipping to change at line 49 | skipping to change at line 49 | |||
#define VALA_CCODE_EXPRESSION_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET _CLASS ((obj), VALA_TYPE_CCODE_EXPRESSION_STATEMENT, ValaCCodeExpressionSta tementClass)) | #define VALA_CCODE_EXPRESSION_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET _CLASS ((obj), VALA_TYPE_CCODE_EXPRESSION_STATEMENT, ValaCCodeExpressionSta tementClass)) | |||
typedef struct _ValaCCodeExpressionStatement ValaCCodeExpressionStatement; | typedef struct _ValaCCodeExpressionStatement ValaCCodeExpressionStatement; | |||
typedef struct _ValaCCodeExpressionStatementClass ValaCCodeExpressionStatem entClass; | typedef struct _ValaCCodeExpressionStatementClass ValaCCodeExpressionStatem entClass; | |||
typedef struct _ValaCCodeExpressionStatementPrivate ValaCCodeExpressionStat ementPrivate; | typedef struct _ValaCCodeExpressionStatementPrivate ValaCCodeExpressionStat ementPrivate; | |||
/** | /** | |||
* Represents a C code statement that evaluates a given expression. | * Represents a C code statement that evaluates a given expression. | |||
*/ | */ | |||
struct _ValaCCodeExpressionStatement { | struct _ValaCCodeExpressionStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent_instance; | |||
ValaCCodeExpressionStatementPrivate * priv; | ValaCCodeExpressionStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeExpressionStatementClass { | struct _ValaCCodeExpressionStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent_class; | |||
}; | }; | |||
ValaCCodeExpressionStatement* vala_ccode_expression_statement_new (ValaCCod eExpression* expr); | ValaCCodeExpressionStatement* vala_ccode_expression_statement_new (ValaCCod eExpression* expr); | |||
ValaCCodeExpression* vala_ccode_expression_statement_get_expression (ValaCC odeExpressionStatement* self); | ValaCCodeExpression* vala_ccode_expression_statement_get_expression (ValaCC odeExpressionStatement* self); | |||
void vala_ccode_expression_statement_set_expression (ValaCCodeExpressionSta tement* self, ValaCCodeExpression* value); | void vala_ccode_expression_statement_set_expression (ValaCCodeExpressionSta tement* self, ValaCCodeExpression* value); | |||
GType vala_ccode_expression_statement_get_type (void); | GType vala_ccode_expression_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodeformalparameter.h | valaccodeformalparameter.h | |||
---|---|---|---|---|
/* valaccodeformalparameter.vala | /* valaccodeformalparameter.vala | |||
* | * | |||
* Copyright (C) 2006 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 50 | skipping to change at line 50 | |||
#define VALA_CCODE_FORMAL_PARAMETER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_FORMAL_PARAMETER, ValaCCodeFormalParameterClass) ) | #define VALA_CCODE_FORMAL_PARAMETER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_FORMAL_PARAMETER, ValaCCodeFormalParameterClass) ) | |||
typedef struct _ValaCCodeFormalParameter ValaCCodeFormalParameter; | typedef struct _ValaCCodeFormalParameter ValaCCodeFormalParameter; | |||
typedef struct _ValaCCodeFormalParameterClass ValaCCodeFormalParameterClass ; | typedef struct _ValaCCodeFormalParameterClass ValaCCodeFormalParameterClass ; | |||
typedef struct _ValaCCodeFormalParameterPrivate ValaCCodeFormalParameterPri vate; | typedef struct _ValaCCodeFormalParameterPrivate ValaCCodeFormalParameterPri vate; | |||
/** | /** | |||
* Represents a formal parameter in a C method signature. | * Represents a formal parameter in a C method signature. | |||
*/ | */ | |||
struct _ValaCCodeFormalParameter { | struct _ValaCCodeFormalParameter { | |||
ValaCCodeNode parent; | ValaCCodeNode parent_instance; | |||
ValaCCodeFormalParameterPrivate * priv; | ValaCCodeFormalParameterPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeFormalParameterClass { | struct _ValaCCodeFormalParameterClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent_class; | |||
}; | }; | |||
ValaCCodeFormalParameter* vala_ccode_formal_parameter_new (const char* n, c onst char* type); | ValaCCodeFormalParameter* vala_ccode_formal_parameter_new (const char* n, c onst char* type); | |||
ValaCCodeFormalParameter* vala_ccode_formal_parameter_new_with_ellipsis (vo id); | ||||
char* vala_ccode_formal_parameter_get_name (ValaCCodeFormalParameter* self) ; | char* vala_ccode_formal_parameter_get_name (ValaCCodeFormalParameter* self) ; | |||
void vala_ccode_formal_parameter_set_name (ValaCCodeFormalParameter* self, const char* value); | void vala_ccode_formal_parameter_set_name (ValaCCodeFormalParameter* self, const char* value); | |||
char* vala_ccode_formal_parameter_get_type_name (ValaCCodeFormalParameter* self); | char* vala_ccode_formal_parameter_get_type_name (ValaCCodeFormalParameter* self); | |||
void vala_ccode_formal_parameter_set_type_name (ValaCCodeFormalParameter* s elf, const char* value); | void vala_ccode_formal_parameter_set_type_name (ValaCCodeFormalParameter* s elf, const char* value); | |||
gboolean vala_ccode_formal_parameter_get_ellipsis (ValaCCodeFormalParameter | ||||
* self); | ||||
void vala_ccode_formal_parameter_set_ellipsis (ValaCCodeFormalParameter* se | ||||
lf, gboolean value); | ||||
GType vala_ccode_formal_parameter_get_type (void); | GType vala_ccode_formal_parameter_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 5 change blocks. | ||||
3 lines changed or deleted | 8 lines changed or added | |||
valaccodeforstatement.h | valaccodeforstatement.h | |||
---|---|---|---|---|
skipping to change at line 49 | skipping to change at line 49 | |||
#define VALA_CCODE_FOR_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_FOR_STATEMENT, ValaCCodeForStatementClass)) | #define VALA_CCODE_FOR_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_FOR_STATEMENT, ValaCCodeForStatementClass)) | |||
typedef struct _ValaCCodeForStatement ValaCCodeForStatement; | typedef struct _ValaCCodeForStatement ValaCCodeForStatement; | |||
typedef struct _ValaCCodeForStatementClass ValaCCodeForStatementClass; | typedef struct _ValaCCodeForStatementClass ValaCCodeForStatementClass; | |||
typedef struct _ValaCCodeForStatementPrivate ValaCCodeForStatementPrivate; | typedef struct _ValaCCodeForStatementPrivate ValaCCodeForStatementPrivate; | |||
/** | /** | |||
* Represents a for iteration statement in the C code. | * Represents a for iteration statement in the C code. | |||
*/ | */ | |||
struct _ValaCCodeForStatement { | struct _ValaCCodeForStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent_instance; | |||
ValaCCodeForStatementPrivate * priv; | ValaCCodeForStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeForStatementClass { | struct _ValaCCodeForStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent_class; | |||
}; | }; | |||
ValaCCodeForStatement* vala_ccode_for_statement_new (ValaCCodeExpression* c ondition, ValaCCodeStatement* body); | ValaCCodeForStatement* vala_ccode_for_statement_new (ValaCCodeExpression* c ondition, ValaCCodeStatement* body); | |||
void vala_ccode_for_statement_add_initializer (ValaCCodeForStatement* self, ValaCCodeExpression* expr); | void vala_ccode_for_statement_add_initializer (ValaCCodeForStatement* self, ValaCCodeExpression* expr); | |||
void vala_ccode_for_statement_add_iterator (ValaCCodeForStatement* self, Va laCCodeExpression* expr); | void vala_ccode_for_statement_add_iterator (ValaCCodeForStatement* self, Va laCCodeExpression* expr); | |||
ValaCCodeExpression* vala_ccode_for_statement_get_condition (ValaCCodeForSt atement* self); | ValaCCodeExpression* vala_ccode_for_statement_get_condition (ValaCCodeForSt atement* self); | |||
void vala_ccode_for_statement_set_condition (ValaCCodeForStatement* self, V alaCCodeExpression* value); | void vala_ccode_for_statement_set_condition (ValaCCodeForStatement* self, V alaCCodeExpression* value); | |||
ValaCCodeStatement* vala_ccode_for_statement_get_body (ValaCCodeForStatemen t* self); | ValaCCodeStatement* vala_ccode_for_statement_get_body (ValaCCodeForStatemen t* self); | |||
void vala_ccode_for_statement_set_body (ValaCCodeForStatement* self, ValaCC odeStatement* value); | void vala_ccode_for_statement_set_body (ValaCCodeForStatement* self, ValaCC odeStatement* value); | |||
GType vala_ccode_for_statement_get_type (void); | GType vala_ccode_for_statement_get_type (void); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodefragment.h | valaccodefragment.h | |||
---|---|---|---|---|
skipping to change at line 49 | skipping to change at line 49 | |||
#define VALA_CCODE_FRAGMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_CCODE_FRAGMENT, ValaCCodeFragmentClass)) | #define VALA_CCODE_FRAGMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_CCODE_FRAGMENT, ValaCCodeFragmentClass)) | |||
typedef struct _ValaCCodeFragment ValaCCodeFragment; | typedef struct _ValaCCodeFragment ValaCCodeFragment; | |||
typedef struct _ValaCCodeFragmentClass ValaCCodeFragmentClass; | typedef struct _ValaCCodeFragmentClass ValaCCodeFragmentClass; | |||
typedef struct _ValaCCodeFragmentPrivate ValaCCodeFragmentPrivate; | typedef struct _ValaCCodeFragmentPrivate ValaCCodeFragmentPrivate; | |||
/** | /** | |||
* Represents a container for C code nodes. | * Represents a container for C code nodes. | |||
*/ | */ | |||
struct _ValaCCodeFragment { | struct _ValaCCodeFragment { | |||
ValaCCodeNode parent; | ValaCCodeNode parent_instance; | |||
ValaCCodeFragmentPrivate * priv; | ValaCCodeFragmentPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeFragmentClass { | struct _ValaCCodeFragmentClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent_class; | |||
}; | }; | |||
void vala_ccode_fragment_append (ValaCCodeFragment* self, ValaCCodeNode* no de); | void vala_ccode_fragment_append (ValaCCodeFragment* self, ValaCCodeNode* no de); | |||
GeeCollection* vala_ccode_fragment_get_children (ValaCCodeFragment* self); | GeeCollection* vala_ccode_fragment_get_children (ValaCCodeFragment* self); | |||
ValaCCodeFragment* vala_ccode_fragment_new (void); | ValaCCodeFragment* vala_ccode_fragment_new (void); | |||
GType vala_ccode_fragment_get_type (void); | GType vala_ccode_fragment_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodefunction.h | valaccodefunction.h | |||
---|---|---|---|---|
skipping to change at line 53 | skipping to change at line 53 | |||
#define VALA_CCODE_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_CCODE_FUNCTION, ValaCCodeFunctionClass)) | #define VALA_CCODE_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_CCODE_FUNCTION, ValaCCodeFunctionClass)) | |||
typedef struct _ValaCCodeFunction ValaCCodeFunction; | typedef struct _ValaCCodeFunction ValaCCodeFunction; | |||
typedef struct _ValaCCodeFunctionClass ValaCCodeFunctionClass; | typedef struct _ValaCCodeFunctionClass ValaCCodeFunctionClass; | |||
typedef struct _ValaCCodeFunctionPrivate ValaCCodeFunctionPrivate; | typedef struct _ValaCCodeFunctionPrivate ValaCCodeFunctionPrivate; | |||
/** | /** | |||
* Represents a function declaration in the C code. | * Represents a function declaration in the C code. | |||
*/ | */ | |||
struct _ValaCCodeFunction { | struct _ValaCCodeFunction { | |||
ValaCCodeNode parent; | ValaCCodeNode parent_instance; | |||
ValaCCodeFunctionPrivate * priv; | ValaCCodeFunctionPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeFunctionClass { | struct _ValaCCodeFunctionClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent_class; | |||
}; | }; | |||
ValaCCodeFunction* vala_ccode_function_new (const char* name, const char* r eturn_type); | ValaCCodeFunction* vala_ccode_function_new (const char* name, const char* r eturn_type); | |||
void vala_ccode_function_add_parameter (ValaCCodeFunction* self, ValaCCodeF ormalParameter* param); | void vala_ccode_function_add_parameter (ValaCCodeFunction* self, ValaCCodeF ormalParameter* param); | |||
ValaCCodeFunction* vala_ccode_function_copy (ValaCCodeFunction* self); | ValaCCodeFunction* vala_ccode_function_copy (ValaCCodeFunction* self); | |||
char* vala_ccode_function_get_name (ValaCCodeFunction* self); | char* vala_ccode_function_get_name (ValaCCodeFunction* self); | |||
void vala_ccode_function_set_name (ValaCCodeFunction* self, const char* val ue); | void vala_ccode_function_set_name (ValaCCodeFunction* self, const char* val ue); | |||
ValaCCodeModifiers vala_ccode_function_get_modifiers (ValaCCodeFunction* se lf); | ValaCCodeModifiers vala_ccode_function_get_modifiers (ValaCCodeFunction* se lf); | |||
void vala_ccode_function_set_modifiers (ValaCCodeFunction* self, ValaCCodeM odifiers value); | void vala_ccode_function_set_modifiers (ValaCCodeFunction* self, ValaCCodeM odifiers value); | |||
char* vala_ccode_function_get_return_type (ValaCCodeFunction* self); | char* vala_ccode_function_get_return_type (ValaCCodeFunction* self); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodefunctioncall.h | valaccodefunctioncall.h | |||
---|---|---|---|---|
skipping to change at line 49 | skipping to change at line 49 | |||
#define VALA_CCODE_FUNCTION_CALL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_FUNCTION_CALL, ValaCCodeFunctionCallClass)) | #define VALA_CCODE_FUNCTION_CALL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_FUNCTION_CALL, ValaCCodeFunctionCallClass)) | |||
typedef struct _ValaCCodeFunctionCall ValaCCodeFunctionCall; | typedef struct _ValaCCodeFunctionCall ValaCCodeFunctionCall; | |||
typedef struct _ValaCCodeFunctionCallClass ValaCCodeFunctionCallClass; | typedef struct _ValaCCodeFunctionCallClass ValaCCodeFunctionCallClass; | |||
typedef struct _ValaCCodeFunctionCallPrivate ValaCCodeFunctionCallPrivate; | typedef struct _ValaCCodeFunctionCallPrivate ValaCCodeFunctionCallPrivate; | |||
/** | /** | |||
* Represents a function call in the C code. | * Represents a function call in the C code. | |||
*/ | */ | |||
struct _ValaCCodeFunctionCall { | struct _ValaCCodeFunctionCall { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent_instance; | |||
ValaCCodeFunctionCallPrivate * priv; | ValaCCodeFunctionCallPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeFunctionCallClass { | struct _ValaCCodeFunctionCallClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent_class; | |||
}; | }; | |||
ValaCCodeFunctionCall* vala_ccode_function_call_new (ValaCCodeExpression* c all); | ValaCCodeFunctionCall* vala_ccode_function_call_new (ValaCCodeExpression* c all); | |||
void vala_ccode_function_call_add_argument (ValaCCodeFunctionCall* self, Va laCCodeExpression* expr); | void vala_ccode_function_call_add_argument (ValaCCodeFunctionCall* self, Va laCCodeExpression* expr); | |||
GeeList* vala_ccode_function_call_get_arguments (ValaCCodeFunctionCall* sel f); | GeeList* vala_ccode_function_call_get_arguments (ValaCCodeFunctionCall* sel f); | |||
ValaCCodeExpression* vala_ccode_function_call_get_call (ValaCCodeFunctionCa ll* self); | ValaCCodeExpression* vala_ccode_function_call_get_call (ValaCCodeFunctionCa ll* self); | |||
void vala_ccode_function_call_set_call (ValaCCodeFunctionCall* self, ValaCC odeExpression* value); | void vala_ccode_function_call_set_call (ValaCCodeFunctionCall* self, ValaCC odeExpression* value); | |||
GType vala_ccode_function_call_get_type (void); | GType vala_ccode_function_call_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodefunctiondeclarator.h | valaccodefunctiondeclarator.h | |||
---|---|---|---|---|
skipping to change at line 51 | skipping to change at line 51 | |||
#define VALA_CCODE_FUNCTION_DECLARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_ CLASS ((obj), VALA_TYPE_CCODE_FUNCTION_DECLARATOR, ValaCCodeFunctionDeclara torClass)) | #define VALA_CCODE_FUNCTION_DECLARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_ CLASS ((obj), VALA_TYPE_CCODE_FUNCTION_DECLARATOR, ValaCCodeFunctionDeclara torClass)) | |||
typedef struct _ValaCCodeFunctionDeclarator ValaCCodeFunctionDeclarator; | typedef struct _ValaCCodeFunctionDeclarator ValaCCodeFunctionDeclarator; | |||
typedef struct _ValaCCodeFunctionDeclaratorClass ValaCCodeFunctionDeclarato rClass; | typedef struct _ValaCCodeFunctionDeclaratorClass ValaCCodeFunctionDeclarato rClass; | |||
typedef struct _ValaCCodeFunctionDeclaratorPrivate ValaCCodeFunctionDeclara torPrivate; | typedef struct _ValaCCodeFunctionDeclaratorPrivate ValaCCodeFunctionDeclara torPrivate; | |||
/** | /** | |||
* Represents a function pointer declarator in the C code. | * Represents a function pointer declarator in the C code. | |||
*/ | */ | |||
struct _ValaCCodeFunctionDeclarator { | struct _ValaCCodeFunctionDeclarator { | |||
ValaCCodeDeclarator parent; | ValaCCodeDeclarator parent_instance; | |||
ValaCCodeFunctionDeclaratorPrivate * priv; | ValaCCodeFunctionDeclaratorPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeFunctionDeclaratorClass { | struct _ValaCCodeFunctionDeclaratorClass { | |||
ValaCCodeDeclaratorClass parent; | ValaCCodeDeclaratorClass parent_class; | |||
}; | }; | |||
ValaCCodeFunctionDeclarator* vala_ccode_function_declarator_new (const char * name); | ValaCCodeFunctionDeclarator* vala_ccode_function_declarator_new (const char * name); | |||
void vala_ccode_function_declarator_add_parameter (ValaCCodeFunctionDeclara tor* self, ValaCCodeFormalParameter* param); | void vala_ccode_function_declarator_add_parameter (ValaCCodeFunctionDeclara tor* self, ValaCCodeFormalParameter* param); | |||
char* vala_ccode_function_declarator_get_name (ValaCCodeFunctionDeclarator* self); | char* vala_ccode_function_declarator_get_name (ValaCCodeFunctionDeclarator* self); | |||
void vala_ccode_function_declarator_set_name (ValaCCodeFunctionDeclarator* self, const char* value); | void vala_ccode_function_declarator_set_name (ValaCCodeFunctionDeclarator* self, const char* value); | |||
GType vala_ccode_function_declarator_get_type (void); | GType vala_ccode_function_declarator_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodegenerator.h | valaccodegenerator.h | |||
---|---|---|---|---|
/* valaccodegenerator.vala | /* valaccodegenerator.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter, Raffaele Sandrini | * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 30 | skipping to change at line 30 | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
*/ | */ | |||
#ifndef __GOBJECT_VALACCODEGENERATOR_H__ | #ifndef __GOBJECT_VALACCODEGENERATOR_H__ | |||
#define __GOBJECT_VALACCODEGENERATOR_H__ | #define __GOBJECT_VALACCODEGENERATOR_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodegenerator.h> | #include <vala/valacodegenerator.h> | |||
#include <vala/valasymbol.h> | #include <vala/valatypesymbol.h> | |||
#include <gee/arraylist.h> | #include <gee/arraylist.h> | |||
#include <vala/valatypereference.h> | ||||
#include <vala/valadatatype.h> | #include <vala/valadatatype.h> | |||
#include <vala/valacodecontext.h> | #include <vala/valacodecontext.h> | |||
#include <vala/valaenum.h> | #include <vala/valaenum.h> | |||
#include <vala/valaenumvalue.h> | #include <vala/valaenumvalue.h> | |||
#include <vala/valacallback.h> | #include <vala/valadelegate.h> | |||
#include <vala/valamember.h> | #include <vala/valamember.h> | |||
#include <vala/valaconstant.h> | #include <vala/valaconstant.h> | |||
#include <vala/valafield.h> | #include <vala/valafield.h> | |||
#include <vala/valaformalparameter.h> | #include <vala/valaformalparameter.h> | |||
#include <vala/valaproperty.h> | #include <vala/valaproperty.h> | |||
#include <vala/valapropertyaccessor.h> | #include <vala/valapropertyaccessor.h> | |||
#include <vala/valaconstructor.h> | #include <vala/valaconstructor.h> | |||
#include <vala/valadestructor.h> | #include <vala/valadestructor.h> | |||
#include <vala/valablock.h> | #include <vala/valablock.h> | |||
#include <vala/valaemptystatement.h> | #include <vala/valaemptystatement.h> | |||
skipping to change at line 130 | skipping to change at line 129 | |||
#define VALA_CCODE_GENERATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_CCODE_GENERATOR, ValaCCodeGeneratorClass)) | #define VALA_CCODE_GENERATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_CCODE_GENERATOR, ValaCCodeGeneratorClass)) | |||
typedef struct _ValaCCodeGenerator ValaCCodeGenerator; | typedef struct _ValaCCodeGenerator ValaCCodeGenerator; | |||
typedef struct _ValaCCodeGeneratorClass ValaCCodeGeneratorClass; | typedef struct _ValaCCodeGeneratorClass ValaCCodeGeneratorClass; | |||
typedef struct _ValaCCodeGeneratorPrivate ValaCCodeGeneratorPrivate; | typedef struct _ValaCCodeGeneratorPrivate ValaCCodeGeneratorPrivate; | |||
/** | /** | |||
* Code visitor generating C Code. | * Code visitor generating C Code. | |||
*/ | */ | |||
struct _ValaCCodeGenerator { | struct _ValaCCodeGenerator { | |||
ValaCodeGenerator parent; | ValaCodeGenerator parent_instance; | |||
ValaCCodeGeneratorPrivate * priv; | ValaCCodeGeneratorPrivate * priv; | |||
ValaSymbol* current_type_symbol; | ValaTypesymbol* current_type_symbol; | |||
GeeArrayList* temp_vars; | GeeArrayList* temp_vars; | |||
gboolean in_creation_method; | gboolean in_creation_method; | |||
ValaTypeReference* bool_type; | ValaDataType* bool_type; | |||
ValaTypeReference* char_type; | ValaDataType* char_type; | |||
ValaTypeReference* unichar_type; | ValaDataType* unichar_type; | |||
ValaTypeReference* short_type; | ValaDataType* short_type; | |||
ValaTypeReference* ushort_type; | ValaDataType* ushort_type; | |||
ValaTypeReference* int_type; | ValaDataType* int_type; | |||
ValaTypeReference* uint_type; | ValaDataType* uint_type; | |||
ValaTypeReference* long_type; | ValaDataType* long_type; | |||
ValaTypeReference* ulong_type; | ValaDataType* ulong_type; | |||
ValaTypeReference* int64_type; | ValaDataType* int64_type; | |||
ValaTypeReference* uint64_type; | ValaDataType* uint64_type; | |||
ValaTypeReference* string_type; | ValaDataType* string_type; | |||
ValaTypeReference* float_type; | ValaDataType* float_type; | |||
ValaTypeReference* double_type; | ValaDataType* double_type; | |||
ValaDataType* gtypeinstance_type; | ValaTypesymbol* gtypeinstance_type; | |||
ValaDataType* gobject_type; | ValaTypesymbol* gobject_type; | |||
ValaDataType* gerror_type; | ValaTypesymbol* gerror_type; | |||
ValaDataType* glist_type; | ValaTypesymbol* glist_type; | |||
ValaDataType* gslist_type; | ValaTypesymbol* gslist_type; | |||
ValaDataType* gstring_type; | ValaTypesymbol* gstring_type; | |||
ValaDataType* garray_type; | ValaTypesymbol* garray_type; | |||
ValaTypeReference* gquark_type; | ValaDataType* gquark_type; | |||
ValaTypeReference* mutex_type; | ValaDataType* mutex_type; | |||
ValaDataType* type_module_type; | ValaTypesymbol* type_module_type; | |||
ValaDataType* iterable_type; | ValaTypesymbol* iterable_type; | |||
ValaDataType* iterator_type; | ValaTypesymbol* iterator_type; | |||
ValaDataType* list_type; | ValaTypesymbol* list_type; | |||
ValaDataType* map_type; | ValaTypesymbol* map_type; | |||
ValaDataType* connection_type; | ValaTypesymbol* connection_type; | |||
}; | }; | |||
struct _ValaCCodeGeneratorClass { | struct _ValaCCodeGeneratorClass { | |||
ValaCodeGeneratorClass parent; | ValaCodeGeneratorClass parent_class; | |||
}; | }; | |||
ValaCCodeGenerator* vala_ccode_generator_new (gboolean manage_memory); | ValaCCodeGenerator* vala_ccode_generator_new (void); | |||
ValaVariableDeclarator* vala_ccode_generator_get_temp_variable_declarator ( | ValaVariableDeclarator* vala_ccode_generator_get_temp_variable_declarator ( | |||
ValaCCodeGenerator* self, ValaTypeReference* type, gboolean takes_ownership | ValaCCodeGenerator* self, ValaDataType* type, gboolean takes_ownership, Val | |||
, ValaCodeNode* node_reference); | aCodeNode* node_reference); | |||
ValaCCodeExpression* vala_ccode_generator_get_unref_expression (ValaCCodeGe | ValaCCodeExpression* vala_ccode_generator_get_unref_expression (ValaCCodeGe | |||
nerator* self, ValaCCodeExpression* cvar, ValaTypeReference* type, ValaExpr | nerator* self, ValaCCodeExpression* cvar, ValaDataType* type, ValaExpressio | |||
ession* expr); | n* expr); | |||
ValaCCodeExpression* vala_ccode_generator_get_array_length_cexpression (Val aCCodeGenerator* self, ValaExpression* array_expr, gint dim); | ValaCCodeExpression* vala_ccode_generator_get_array_length_cexpression (Val aCCodeGenerator* self, ValaExpression* array_expr, gint dim); | |||
ValaCCodeExpression* vala_ccode_generator_get_delegate_target_cexpression ( ValaCCodeGenerator* self, ValaExpression* delegate_expr); | ||||
void vala_ccode_generator_visit_expression (ValaCCodeGenerator* self, ValaE xpression* expr); | void vala_ccode_generator_visit_expression (ValaCCodeGenerator* self, ValaE xpression* expr); | |||
ValaCCodeExpression* vala_ccode_generator_convert_from_generic_pointer (Val | ValaCCodeExpression* vala_ccode_generator_convert_from_generic_pointer (Val | |||
aCCodeGenerator* self, ValaCCodeExpression* cexpr, ValaTypeReference* actua | aCCodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* actual_typ | |||
l_type); | e); | |||
ValaCCodeExpression* vala_ccode_generator_convert_to_generic_pointer (ValaC | ValaCCodeExpression* vala_ccode_generator_convert_to_generic_pointer (ValaC | |||
CodeGenerator* self, ValaCCodeExpression* cexpr, ValaTypeReference* actual_ | CodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* actual_type) | |||
type); | ; | |||
ValaCCodeExpression* vala_ccode_generator_get_implicit_cast_expression (Val | ValaCCodeExpression* vala_ccode_generator_get_implicit_cast_expression (Val | |||
aCCodeGenerator* self, ValaCCodeExpression* cexpr, ValaTypeReference* expre | aCCodeGenerator* self, ValaCCodeExpression* cexpr, ValaDataType* expression | |||
ssion_type, ValaTypeReference* target_type); | _type, ValaDataType* target_type); | |||
ValaCCodeFunctionCall* vala_ccode_generator_get_property_set_call (ValaCCod eGenerator* self, ValaProperty* prop, ValaMemberAccess* ma, ValaCCodeExpres sion* cexpr); | ValaCCodeFunctionCall* vala_ccode_generator_get_property_set_call (ValaCCod eGenerator* self, ValaProperty* prop, ValaMemberAccess* ma, ValaCCodeExpres sion* cexpr); | |||
ValaCCodeIdentifier* vala_ccode_generator_get_value_setter_function (ValaCC odeGenerator* self, ValaTypeReference* type_reference); | ValaCCodeIdentifier* vala_ccode_generator_get_value_setter_function (ValaCC odeGenerator* self, ValaDataType* type_reference); | |||
char* vala_ccode_generator_get_signal_marshaller_function (ValaCCodeGenerat or* self, ValaSignal* sig, const char* prefix); | char* vala_ccode_generator_get_signal_marshaller_function (ValaCCodeGenerat or* self, ValaSignal* sig, const char* prefix); | |||
gboolean vala_ccode_generator_get_memory_management (ValaCCodeGenerator* se | ||||
lf); | ||||
void vala_ccode_generator_set_memory_management (ValaCCodeGenerator* self, | ||||
gboolean value); | ||||
GType vala_ccode_generator_get_type (void); | GType vala_ccode_generator_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 13 change blocks. | ||||
57 lines changed or deleted | 53 lines changed or added | |||
valaccodegeneratorclass.h | valaccodegeneratorclass.h | |||
---|---|---|---|---|
/* valaccodegeneratorclass.vala | /* valaccodegeneratorclass.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter, Raffaele Sandrini | * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valaccodegeneratorinterface.h | valaccodegeneratorinterface.h | |||
---|---|---|---|---|
/* valaccodegeneratorinterface.vala | /* valaccodegeneratorinterface.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter, Raffaele Sandrini | * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valaccodegeneratorinvocationexpression.h | valaccodegeneratorinvocationexpression.h | |||
---|---|---|---|---|
/* valaccodegeneratorinvocationexpression.vala | /* valaccodegeneratorinvocationexpression.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter, Raffaele Sandrini | * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valaccodegeneratormethod.h | valaccodegeneratormethod.h | |||
---|---|---|---|---|
/* valaccodegeneratormethod.vala | /* valaccodegeneratormethod.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter, Raffaele Sandrini | * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valaccodegeneratorsignal.h | valaccodegeneratorsignal.h | |||
---|---|---|---|---|
/* valaccodegeneratorsignal.vala | /* valaccodegeneratorsignal.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter, Raffaele Sandrini | * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valaccodegotostatement.h | valaccodegotostatement.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
#define VALA_CCODE_GOTO_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_GOTO_STATEMENT, ValaCCodeGotoStatementClass)) | #define VALA_CCODE_GOTO_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_GOTO_STATEMENT, ValaCCodeGotoStatementClass)) | |||
typedef struct _ValaCCodeGotoStatement ValaCCodeGotoStatement; | typedef struct _ValaCCodeGotoStatement ValaCCodeGotoStatement; | |||
typedef struct _ValaCCodeGotoStatementClass ValaCCodeGotoStatementClass; | typedef struct _ValaCCodeGotoStatementClass ValaCCodeGotoStatementClass; | |||
typedef struct _ValaCCodeGotoStatementPrivate ValaCCodeGotoStatementPrivate ; | typedef struct _ValaCCodeGotoStatementPrivate ValaCCodeGotoStatementPrivate ; | |||
/** | /** | |||
* Represents a goto statement in the C code. | * Represents a goto statement in the C code. | |||
*/ | */ | |||
struct _ValaCCodeGotoStatement { | struct _ValaCCodeGotoStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent_instance; | |||
ValaCCodeGotoStatementPrivate * priv; | ValaCCodeGotoStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeGotoStatementClass { | struct _ValaCCodeGotoStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent_class; | |||
}; | }; | |||
ValaCCodeGotoStatement* vala_ccode_goto_statement_new (const char* name); | ValaCCodeGotoStatement* vala_ccode_goto_statement_new (const char* name); | |||
char* vala_ccode_goto_statement_get_name (ValaCCodeGotoStatement* self); | char* vala_ccode_goto_statement_get_name (ValaCCodeGotoStatement* self); | |||
void vala_ccode_goto_statement_set_name (ValaCCodeGotoStatement* self, cons t char* value); | void vala_ccode_goto_statement_set_name (ValaCCodeGotoStatement* self, cons t char* value); | |||
GType vala_ccode_goto_statement_get_type (void); | GType vala_ccode_goto_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodeidentifier.h | valaccodeidentifier.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
#define VALA_CCODE_IDENTIFIER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_CCODE_IDENTIFIER, ValaCCodeIdentifierClass)) | #define VALA_CCODE_IDENTIFIER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_CCODE_IDENTIFIER, ValaCCodeIdentifierClass)) | |||
typedef struct _ValaCCodeIdentifier ValaCCodeIdentifier; | typedef struct _ValaCCodeIdentifier ValaCCodeIdentifier; | |||
typedef struct _ValaCCodeIdentifierClass ValaCCodeIdentifierClass; | typedef struct _ValaCCodeIdentifierClass ValaCCodeIdentifierClass; | |||
typedef struct _ValaCCodeIdentifierPrivate ValaCCodeIdentifierPrivate; | typedef struct _ValaCCodeIdentifierPrivate ValaCCodeIdentifierPrivate; | |||
/** | /** | |||
* Represents a identifier in the C code. | * Represents a identifier in the C code. | |||
*/ | */ | |||
struct _ValaCCodeIdentifier { | struct _ValaCCodeIdentifier { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent_instance; | |||
ValaCCodeIdentifierPrivate * priv; | ValaCCodeIdentifierPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeIdentifierClass { | struct _ValaCCodeIdentifierClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent_class; | |||
}; | }; | |||
ValaCCodeIdentifier* vala_ccode_identifier_new (const char* _name); | ValaCCodeIdentifier* vala_ccode_identifier_new (const char* _name); | |||
char* vala_ccode_identifier_get_name (ValaCCodeIdentifier* self); | char* vala_ccode_identifier_get_name (ValaCCodeIdentifier* self); | |||
void vala_ccode_identifier_set_name (ValaCCodeIdentifier* self, const char* value); | void vala_ccode_identifier_set_name (ValaCCodeIdentifier* self, const char* value); | |||
GType vala_ccode_identifier_get_type (void); | GType vala_ccode_identifier_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodeifstatement.h | valaccodeifstatement.h | |||
---|---|---|---|---|
skipping to change at line 49 | skipping to change at line 49 | |||
#define VALA_CCODE_IF_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_CCODE_IF_STATEMENT, ValaCCodeIfStatementClass)) | #define VALA_CCODE_IF_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_CCODE_IF_STATEMENT, ValaCCodeIfStatementClass)) | |||
typedef struct _ValaCCodeIfStatement ValaCCodeIfStatement; | typedef struct _ValaCCodeIfStatement ValaCCodeIfStatement; | |||
typedef struct _ValaCCodeIfStatementClass ValaCCodeIfStatementClass; | typedef struct _ValaCCodeIfStatementClass ValaCCodeIfStatementClass; | |||
typedef struct _ValaCCodeIfStatementPrivate ValaCCodeIfStatementPrivate; | typedef struct _ValaCCodeIfStatementPrivate ValaCCodeIfStatementPrivate; | |||
/** | /** | |||
* Represents an if selection statement in the C code. | * Represents an if selection statement in the C code. | |||
*/ | */ | |||
struct _ValaCCodeIfStatement { | struct _ValaCCodeIfStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent_instance; | |||
ValaCCodeIfStatementPrivate * priv; | ValaCCodeIfStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeIfStatementClass { | struct _ValaCCodeIfStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent_class; | |||
}; | }; | |||
ValaCCodeIfStatement* vala_ccode_if_statement_new (ValaCCodeExpression* con d, ValaCCodeStatement* true_stmt, ValaCCodeStatement* false_stmt); | ValaCCodeIfStatement* vala_ccode_if_statement_new (ValaCCodeExpression* con d, ValaCCodeStatement* true_stmt, ValaCCodeStatement* false_stmt); | |||
ValaCCodeExpression* vala_ccode_if_statement_get_condition (ValaCCodeIfStat ement* self); | ValaCCodeExpression* vala_ccode_if_statement_get_condition (ValaCCodeIfStat ement* self); | |||
void vala_ccode_if_statement_set_condition (ValaCCodeIfStatement* self, Val aCCodeExpression* value); | void vala_ccode_if_statement_set_condition (ValaCCodeIfStatement* self, Val aCCodeExpression* value); | |||
ValaCCodeStatement* vala_ccode_if_statement_get_true_statement (ValaCCodeIf Statement* self); | ValaCCodeStatement* vala_ccode_if_statement_get_true_statement (ValaCCodeIf Statement* self); | |||
void vala_ccode_if_statement_set_true_statement (ValaCCodeIfStatement* self , ValaCCodeStatement* value); | void vala_ccode_if_statement_set_true_statement (ValaCCodeIfStatement* self , ValaCCodeStatement* value); | |||
ValaCCodeStatement* vala_ccode_if_statement_get_false_statement (ValaCCodeI fStatement* self); | ValaCCodeStatement* vala_ccode_if_statement_get_false_statement (ValaCCodeI fStatement* self); | |||
void vala_ccode_if_statement_set_false_statement (ValaCCodeIfStatement* sel f, ValaCCodeStatement* value); | void vala_ccode_if_statement_set_false_statement (ValaCCodeIfStatement* sel f, ValaCCodeStatement* value); | |||
gboolean vala_ccode_if_statement_get_else_if (ValaCCodeIfStatement* self); | gboolean vala_ccode_if_statement_get_else_if (ValaCCodeIfStatement* self); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodeincludedirective.h | valaccodeincludedirective.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
#define VALA_CCODE_INCLUDE_DIRECTIVE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CL ASS ((obj), VALA_TYPE_CCODE_INCLUDE_DIRECTIVE, ValaCCodeIncludeDirectiveCla ss)) | #define VALA_CCODE_INCLUDE_DIRECTIVE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CL ASS ((obj), VALA_TYPE_CCODE_INCLUDE_DIRECTIVE, ValaCCodeIncludeDirectiveCla ss)) | |||
typedef struct _ValaCCodeIncludeDirective ValaCCodeIncludeDirective; | typedef struct _ValaCCodeIncludeDirective ValaCCodeIncludeDirective; | |||
typedef struct _ValaCCodeIncludeDirectiveClass ValaCCodeIncludeDirectiveCla ss; | typedef struct _ValaCCodeIncludeDirectiveClass ValaCCodeIncludeDirectiveCla ss; | |||
typedef struct _ValaCCodeIncludeDirectivePrivate ValaCCodeIncludeDirectiveP rivate; | typedef struct _ValaCCodeIncludeDirectivePrivate ValaCCodeIncludeDirectiveP rivate; | |||
/** | /** | |||
* Represents an include preprocessor directive in the C code. | * Represents an include preprocessor directive in the C code. | |||
*/ | */ | |||
struct _ValaCCodeIncludeDirective { | struct _ValaCCodeIncludeDirective { | |||
ValaCCodeNode parent; | ValaCCodeNode parent_instance; | |||
ValaCCodeIncludeDirectivePrivate * priv; | ValaCCodeIncludeDirectivePrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeIncludeDirectiveClass { | struct _ValaCCodeIncludeDirectiveClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent_class; | |||
}; | }; | |||
ValaCCodeIncludeDirective* vala_ccode_include_directive_new (const char* _f ilename, gboolean _local); | ValaCCodeIncludeDirective* vala_ccode_include_directive_new (const char* _f ilename, gboolean _local); | |||
char* vala_ccode_include_directive_get_filename (ValaCCodeIncludeDirective* self); | char* vala_ccode_include_directive_get_filename (ValaCCodeIncludeDirective* self); | |||
void vala_ccode_include_directive_set_filename (ValaCCodeIncludeDirective* self, const char* value); | void vala_ccode_include_directive_set_filename (ValaCCodeIncludeDirective* self, const char* value); | |||
gboolean vala_ccode_include_directive_get_local (ValaCCodeIncludeDirective* self); | gboolean vala_ccode_include_directive_get_local (ValaCCodeIncludeDirective* self); | |||
void vala_ccode_include_directive_set_local (ValaCCodeIncludeDirective* sel f, gboolean value); | void vala_ccode_include_directive_set_local (ValaCCodeIncludeDirective* sel f, gboolean value); | |||
GType vala_ccode_include_directive_get_type (void); | GType vala_ccode_include_directive_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodeinitializerlist.h | valaccodeinitializerlist.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_CCODE_INITIALIZER_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_INITIALIZER_LIST, ValaCCodeInitializerListClass) ) | #define VALA_CCODE_INITIALIZER_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_INITIALIZER_LIST, ValaCCodeInitializerListClass) ) | |||
typedef struct _ValaCCodeInitializerList ValaCCodeInitializerList; | typedef struct _ValaCCodeInitializerList ValaCCodeInitializerList; | |||
typedef struct _ValaCCodeInitializerListClass ValaCCodeInitializerListClass ; | typedef struct _ValaCCodeInitializerListClass ValaCCodeInitializerListClass ; | |||
typedef struct _ValaCCodeInitializerListPrivate ValaCCodeInitializerListPri vate; | typedef struct _ValaCCodeInitializerListPrivate ValaCCodeInitializerListPri vate; | |||
/** | /** | |||
* Represents a struct or array initializer list in the C code. | * Represents a struct or array initializer list in the C code. | |||
*/ | */ | |||
struct _ValaCCodeInitializerList { | struct _ValaCCodeInitializerList { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent_instance; | |||
ValaCCodeInitializerListPrivate * priv; | ValaCCodeInitializerListPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeInitializerListClass { | struct _ValaCCodeInitializerListClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent_class; | |||
}; | }; | |||
void vala_ccode_initializer_list_append (ValaCCodeInitializerList* self, Va laCCodeExpression* expr); | void vala_ccode_initializer_list_append (ValaCCodeInitializerList* self, Va laCCodeExpression* expr); | |||
ValaCCodeInitializerList* vala_ccode_initializer_list_new (void); | ValaCCodeInitializerList* vala_ccode_initializer_list_new (void); | |||
GType vala_ccode_initializer_list_get_type (void); | GType vala_ccode_initializer_list_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodelabel.h | valaccodelabel.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
#define VALA_CCODE_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_LABEL, ValaCCodeLabelClass)) | #define VALA_CCODE_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_LABEL, ValaCCodeLabelClass)) | |||
typedef struct _ValaCCodeLabel ValaCCodeLabel; | typedef struct _ValaCCodeLabel ValaCCodeLabel; | |||
typedef struct _ValaCCodeLabelClass ValaCCodeLabelClass; | typedef struct _ValaCCodeLabelClass ValaCCodeLabelClass; | |||
typedef struct _ValaCCodeLabelPrivate ValaCCodeLabelPrivate; | typedef struct _ValaCCodeLabelPrivate ValaCCodeLabelPrivate; | |||
/** | /** | |||
* Represents a label declaration in the C code. | * Represents a label declaration in the C code. | |||
*/ | */ | |||
struct _ValaCCodeLabel { | struct _ValaCCodeLabel { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent_instance; | |||
ValaCCodeLabelPrivate * priv; | ValaCCodeLabelPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeLabelClass { | struct _ValaCCodeLabelClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent_class; | |||
}; | }; | |||
ValaCCodeLabel* vala_ccode_label_new (const char* name); | ValaCCodeLabel* vala_ccode_label_new (const char* name); | |||
char* vala_ccode_label_get_name (ValaCCodeLabel* self); | char* vala_ccode_label_get_name (ValaCCodeLabel* self); | |||
void vala_ccode_label_set_name (ValaCCodeLabel* self, const char* value); | void vala_ccode_label_set_name (ValaCCodeLabel* self, const char* value); | |||
GType vala_ccode_label_get_type (void); | GType vala_ccode_label_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodelinedirective.h | valaccodelinedirective.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
#define VALA_IS_CCODE_LINE_DIRECTIVE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj ), VALA_TYPE_CCODE_LINE_DIRECTIVE)) | #define VALA_IS_CCODE_LINE_DIRECTIVE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj ), VALA_TYPE_CCODE_LINE_DIRECTIVE)) | |||
#define VALA_IS_CCODE_LINE_DIRECTIVE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_LINE_DIRECTIVE)) | #define VALA_IS_CCODE_LINE_DIRECTIVE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_LINE_DIRECTIVE)) | |||
#define VALA_CCODE_LINE_DIRECTIVE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_LINE_DIRECTIVE, ValaCCodeLineDirectiveClass)) | #define VALA_CCODE_LINE_DIRECTIVE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_LINE_DIRECTIVE, ValaCCodeLineDirectiveClass)) | |||
typedef struct _ValaCCodeLineDirectivePrivate ValaCCodeLineDirectivePrivate ; | typedef struct _ValaCCodeLineDirectivePrivate ValaCCodeLineDirectivePrivate ; | |||
/** | /** | |||
* Represents a line directive in the C code. | * Represents a line directive in the C code. | |||
*/ | */ | |||
struct _ValaCCodeLineDirective { | struct _ValaCCodeLineDirective { | |||
ValaCCodeNode parent; | ValaCCodeNode parent_instance; | |||
ValaCCodeLineDirectivePrivate * priv; | ValaCCodeLineDirectivePrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeLineDirectiveClass { | struct _ValaCCodeLineDirectiveClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent_class; | |||
}; | }; | |||
ValaCCodeLineDirective* vala_ccode_line_directive_new (const char* _filenam e, gint _line); | ValaCCodeLineDirective* vala_ccode_line_directive_new (const char* _filenam e, gint _line); | |||
char* vala_ccode_line_directive_get_filename (ValaCCodeLineDirective* self) ; | char* vala_ccode_line_directive_get_filename (ValaCCodeLineDirective* self) ; | |||
void vala_ccode_line_directive_set_filename (ValaCCodeLineDirective* self, const char* value); | void vala_ccode_line_directive_set_filename (ValaCCodeLineDirective* self, const char* value); | |||
gint vala_ccode_line_directive_get_line (ValaCCodeLineDirective* self); | gint vala_ccode_line_directive_get_line (ValaCCodeLineDirective* self); | |||
void vala_ccode_line_directive_set_line (ValaCCodeLineDirective* self, gint value); | void vala_ccode_line_directive_set_line (ValaCCodeLineDirective* self, gint value); | |||
GType vala_ccode_line_directive_get_type (void); | GType vala_ccode_line_directive_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodemacroreplacement.h | valaccodemacroreplacement.h | |||
---|---|---|---|---|
skipping to change at line 51 | skipping to change at line 51 | |||
#define VALA_CCODE_MACRO_REPLACEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CL ASS ((obj), VALA_TYPE_CCODE_MACRO_REPLACEMENT, ValaCCodeMacroReplacementCla ss)) | #define VALA_CCODE_MACRO_REPLACEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CL ASS ((obj), VALA_TYPE_CCODE_MACRO_REPLACEMENT, ValaCCodeMacroReplacementCla ss)) | |||
typedef struct _ValaCCodeMacroReplacement ValaCCodeMacroReplacement; | typedef struct _ValaCCodeMacroReplacement ValaCCodeMacroReplacement; | |||
typedef struct _ValaCCodeMacroReplacementClass ValaCCodeMacroReplacementCla ss; | typedef struct _ValaCCodeMacroReplacementClass ValaCCodeMacroReplacementCla ss; | |||
typedef struct _ValaCCodeMacroReplacementPrivate ValaCCodeMacroReplacementP rivate; | typedef struct _ValaCCodeMacroReplacementPrivate ValaCCodeMacroReplacementP rivate; | |||
/** | /** | |||
* Represents a preprocessor macro replacement definition in the C code. | * Represents a preprocessor macro replacement definition in the C code. | |||
*/ | */ | |||
struct _ValaCCodeMacroReplacement { | struct _ValaCCodeMacroReplacement { | |||
ValaCCodeNode parent; | ValaCCodeNode parent_instance; | |||
ValaCCodeMacroReplacementPrivate * priv; | ValaCCodeMacroReplacementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeMacroReplacementClass { | struct _ValaCCodeMacroReplacementClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent_class; | |||
}; | }; | |||
ValaCCodeMacroReplacement* vala_ccode_macro_replacement_new (const char* na me, const char* replacement); | ValaCCodeMacroReplacement* vala_ccode_macro_replacement_new (const char* na me, const char* replacement); | |||
ValaCCodeMacroReplacement* vala_ccode_macro_replacement_new_with_expression (const char* name, ValaCCodeExpression* replacement_expression); | ValaCCodeMacroReplacement* vala_ccode_macro_replacement_new_with_expression (const char* name, ValaCCodeExpression* replacement_expression); | |||
char* vala_ccode_macro_replacement_get_name (ValaCCodeMacroReplacement* sel f); | char* vala_ccode_macro_replacement_get_name (ValaCCodeMacroReplacement* sel f); | |||
void vala_ccode_macro_replacement_set_name (ValaCCodeMacroReplacement* self , const char* value); | void vala_ccode_macro_replacement_set_name (ValaCCodeMacroReplacement* self , const char* value); | |||
char* vala_ccode_macro_replacement_get_replacement (ValaCCodeMacroReplaceme nt* self); | char* vala_ccode_macro_replacement_get_replacement (ValaCCodeMacroReplaceme nt* self); | |||
void vala_ccode_macro_replacement_set_replacement (ValaCCodeMacroReplacemen t* self, const char* value); | void vala_ccode_macro_replacement_set_replacement (ValaCCodeMacroReplacemen t* self, const char* value); | |||
ValaCCodeExpression* vala_ccode_macro_replacement_get_replacement_expressio n (ValaCCodeMacroReplacement* self); | ValaCCodeExpression* vala_ccode_macro_replacement_get_replacement_expressio n (ValaCCodeMacroReplacement* self); | |||
void vala_ccode_macro_replacement_set_replacement_expression (ValaCCodeMacr oReplacement* self, ValaCCodeExpression* value); | void vala_ccode_macro_replacement_set_replacement_expression (ValaCCodeMacr oReplacement* self, ValaCCodeExpression* value); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodememberaccess.h | valaccodememberaccess.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
#define VALA_CCODE_MEMBER_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_MEMBER_ACCESS, ValaCCodeMemberAccessClass)) | #define VALA_CCODE_MEMBER_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_MEMBER_ACCESS, ValaCCodeMemberAccessClass)) | |||
typedef struct _ValaCCodeMemberAccess ValaCCodeMemberAccess; | typedef struct _ValaCCodeMemberAccess ValaCCodeMemberAccess; | |||
typedef struct _ValaCCodeMemberAccessClass ValaCCodeMemberAccessClass; | typedef struct _ValaCCodeMemberAccessClass ValaCCodeMemberAccessClass; | |||
typedef struct _ValaCCodeMemberAccessPrivate ValaCCodeMemberAccessPrivate; | typedef struct _ValaCCodeMemberAccessPrivate ValaCCodeMemberAccessPrivate; | |||
/** | /** | |||
* Represents an access to a struct member in the C code. | * Represents an access to a struct member in the C code. | |||
*/ | */ | |||
struct _ValaCCodeMemberAccess { | struct _ValaCCodeMemberAccess { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent_instance; | |||
ValaCCodeMemberAccessPrivate * priv; | ValaCCodeMemberAccessPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeMemberAccessClass { | struct _ValaCCodeMemberAccessClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent_class; | |||
}; | }; | |||
ValaCCodeMemberAccess* vala_ccode_member_access_new (ValaCCodeExpression* c ontainer, const char* member, gboolean pointer); | ValaCCodeMemberAccess* vala_ccode_member_access_new (ValaCCodeExpression* c ontainer, const char* member, gboolean pointer); | |||
ValaCCodeMemberAccess* vala_ccode_member_access_new_pointer (ValaCCodeExpre ssion* container, const char* member); | ValaCCodeMemberAccess* vala_ccode_member_access_new_pointer (ValaCCodeExpre ssion* container, const char* member); | |||
ValaCCodeExpression* vala_ccode_member_access_get_inner (ValaCCodeMemberAcc ess* self); | ValaCCodeExpression* vala_ccode_member_access_get_inner (ValaCCodeMemberAcc ess* self); | |||
void vala_ccode_member_access_set_inner (ValaCCodeMemberAccess* self, ValaC CodeExpression* value); | void vala_ccode_member_access_set_inner (ValaCCodeMemberAccess* self, ValaC CodeExpression* value); | |||
char* vala_ccode_member_access_get_member_name (ValaCCodeMemberAccess* self ); | char* vala_ccode_member_access_get_member_name (ValaCCodeMemberAccess* self ); | |||
void vala_ccode_member_access_set_member_name (ValaCCodeMemberAccess* self, const char* value); | void vala_ccode_member_access_set_member_name (ValaCCodeMemberAccess* self, const char* value); | |||
gboolean vala_ccode_member_access_get_is_pointer (ValaCCodeMemberAccess* se lf); | gboolean vala_ccode_member_access_get_is_pointer (ValaCCodeMemberAccess* se lf); | |||
void vala_ccode_member_access_set_is_pointer (ValaCCodeMemberAccess* self, gboolean value); | void vala_ccode_member_access_set_is_pointer (ValaCCodeMemberAccess* self, gboolean value); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodemodifiers.h | valaccodemodifiers.h | |||
---|---|---|---|---|
/* valaccodemodifiers.vala | /* valaccodemodifiers.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter, Raffaele Sandrini | * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 33 | skipping to change at line 33 | |||
#ifndef __CCODE_VALACCODEMODIFIERS_H__ | #ifndef __CCODE_VALACCODEMODIFIERS_H__ | |||
#define __CCODE_VALACCODEMODIFIERS_H__ | #define __CCODE_VALACCODEMODIFIERS_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
typedef enum { | typedef enum { | |||
VALA_CCODE_MODIFIERS_NONE, | VALA_CCODE_MODIFIERS_NONE = 0, | |||
VALA_CCODE_MODIFIERS_STATIC, | VALA_CCODE_MODIFIERS_STATIC = 1 << 0, | |||
VALA_CCODE_MODIFIERS_REGISTER, | VALA_CCODE_MODIFIERS_REGISTER = 1 << 1, | |||
VALA_CCODE_MODIFIERS_EXTERN | VALA_CCODE_MODIFIERS_EXTERN = 1 << 2, | |||
VALA_CCODE_MODIFIERS_INLINE = 1 << 3 | ||||
} ValaCCodeModifiers; | } ValaCCodeModifiers; | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
5 lines changed or deleted | 6 lines changed or added | |||
valaccodenewline.h | valaccodenewline.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_CCODE_NEWLINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_CCODE_NEWLINE, ValaCCodeNewlineClass)) | #define VALA_CCODE_NEWLINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_CCODE_NEWLINE, ValaCCodeNewlineClass)) | |||
typedef struct _ValaCCodeNewline ValaCCodeNewline; | typedef struct _ValaCCodeNewline ValaCCodeNewline; | |||
typedef struct _ValaCCodeNewlineClass ValaCCodeNewlineClass; | typedef struct _ValaCCodeNewlineClass ValaCCodeNewlineClass; | |||
typedef struct _ValaCCodeNewlinePrivate ValaCCodeNewlinePrivate; | typedef struct _ValaCCodeNewlinePrivate ValaCCodeNewlinePrivate; | |||
/** | /** | |||
* Represents a line break in the C code. | * Represents a line break in the C code. | |||
*/ | */ | |||
struct _ValaCCodeNewline { | struct _ValaCCodeNewline { | |||
ValaCCodeNode parent; | ValaCCodeNode parent_instance; | |||
ValaCCodeNewlinePrivate * priv; | ValaCCodeNewlinePrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeNewlineClass { | struct _ValaCCodeNewlineClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent_class; | |||
}; | }; | |||
ValaCCodeNewline* vala_ccode_newline_new (void); | ValaCCodeNewline* vala_ccode_newline_new (void); | |||
GType vala_ccode_newline_get_type (void); | GType vala_ccode_newline_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodenode.h | valaccodenode.h | |||
---|---|---|---|---|
skipping to change at line 51 | skipping to change at line 51 | |||
#define VALA_IS_CCODE_NODE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_CCODE_NODE)) | #define VALA_IS_CCODE_NODE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_CCODE_NODE)) | |||
#define VALA_IS_CCODE_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_NODE)) | #define VALA_IS_CCODE_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CCODE_NODE)) | |||
#define VALA_CCODE_NODE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_CCODE_NODE, ValaCCodeNodeClass)) | #define VALA_CCODE_NODE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_CCODE_NODE, ValaCCodeNodeClass)) | |||
typedef struct _ValaCCodeNodePrivate ValaCCodeNodePrivate; | typedef struct _ValaCCodeNodePrivate ValaCCodeNodePrivate; | |||
/** | /** | |||
* Represents a node in the C code tree. | * Represents a node in the C code tree. | |||
*/ | */ | |||
struct _ValaCCodeNode { | struct _ValaCCodeNode { | |||
GObject parent; | GObject parent_instance; | |||
ValaCCodeNodePrivate * priv; | ValaCCodeNodePrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeNodeClass { | struct _ValaCCodeNodeClass { | |||
GObjectClass parent; | GObjectClass parent_class; | |||
void (*write) (ValaCCodeNode* self, ValaCCodeWriter* writer); | void (*write) (ValaCCodeNode* self, ValaCCodeWriter* writer); | |||
void (*write_declaration) (ValaCCodeNode* self, ValaCCodeWriter* wri ter); | void (*write_declaration) (ValaCCodeNode* self, ValaCCodeWriter* wri ter); | |||
void (*write_combined) (ValaCCodeNode* self, ValaCCodeWriter* writer ); | void (*write_combined) (ValaCCodeNode* self, ValaCCodeWriter* writer ); | |||
}; | }; | |||
void vala_ccode_node_write (ValaCCodeNode* self, ValaCCodeWriter* writer); | void vala_ccode_node_write (ValaCCodeNode* self, ValaCCodeWriter* writer); | |||
void vala_ccode_node_write_declaration (ValaCCodeNode* self, ValaCCodeWrite r* writer); | void vala_ccode_node_write_declaration (ValaCCodeNode* self, ValaCCodeWrite r* writer); | |||
void vala_ccode_node_write_combined (ValaCCodeNode* self, ValaCCodeWriter* writer); | void vala_ccode_node_write_combined (ValaCCodeNode* self, ValaCCodeWriter* writer); | |||
ValaCCodeLineDirective* vala_ccode_node_get_line (ValaCCodeNode* self); | ValaCCodeLineDirective* vala_ccode_node_get_line (ValaCCodeNode* self); | |||
void vala_ccode_node_set_line (ValaCCodeNode* self, ValaCCodeLineDirective* value); | void vala_ccode_node_set_line (ValaCCodeNode* self, ValaCCodeLineDirective* value); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodeoncesection.h | valaccodeoncesection.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
#define VALA_CCODE_ONCE_SECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_CCODE_ONCE_SECTION, ValaCCodeOnceSectionClass)) | #define VALA_CCODE_ONCE_SECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_CCODE_ONCE_SECTION, ValaCCodeOnceSectionClass)) | |||
typedef struct _ValaCCodeOnceSection ValaCCodeOnceSection; | typedef struct _ValaCCodeOnceSection ValaCCodeOnceSection; | |||
typedef struct _ValaCCodeOnceSectionClass ValaCCodeOnceSectionClass; | typedef struct _ValaCCodeOnceSectionClass ValaCCodeOnceSectionClass; | |||
typedef struct _ValaCCodeOnceSectionPrivate ValaCCodeOnceSectionPrivate; | typedef struct _ValaCCodeOnceSectionPrivate ValaCCodeOnceSectionPrivate; | |||
/** | /** | |||
* Represents a section that should only to processed once. | * Represents a section that should only to processed once. | |||
*/ | */ | |||
struct _ValaCCodeOnceSection { | struct _ValaCCodeOnceSection { | |||
ValaCCodeFragment parent; | ValaCCodeFragment parent_instance; | |||
ValaCCodeOnceSectionPrivate * priv; | ValaCCodeOnceSectionPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeOnceSectionClass { | struct _ValaCCodeOnceSectionClass { | |||
ValaCCodeFragmentClass parent; | ValaCCodeFragmentClass parent_class; | |||
}; | }; | |||
ValaCCodeOnceSection* vala_ccode_once_section_new (const char* def); | ValaCCodeOnceSection* vala_ccode_once_section_new (const char* def); | |||
char* vala_ccode_once_section_get_define (ValaCCodeOnceSection* self); | char* vala_ccode_once_section_get_define (ValaCCodeOnceSection* self); | |||
void vala_ccode_once_section_set_define (ValaCCodeOnceSection* self, const char* value); | void vala_ccode_once_section_set_define (ValaCCodeOnceSection* self, const char* value); | |||
GType vala_ccode_once_section_get_type (void); | GType vala_ccode_once_section_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodeparenthesizedexpression.h | valaccodeparenthesizedexpression.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_CCODE_PARENTHESIZED_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE _GET_CLASS ((obj), VALA_TYPE_CCODE_PARENTHESIZED_EXPRESSION, ValaCCodeParen thesizedExpressionClass)) | #define VALA_CCODE_PARENTHESIZED_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE _GET_CLASS ((obj), VALA_TYPE_CCODE_PARENTHESIZED_EXPRESSION, ValaCCodeParen thesizedExpressionClass)) | |||
typedef struct _ValaCCodeParenthesizedExpression ValaCCodeParenthesizedExpr ession; | typedef struct _ValaCCodeParenthesizedExpression ValaCCodeParenthesizedExpr ession; | |||
typedef struct _ValaCCodeParenthesizedExpressionClass ValaCCodeParenthesize dExpressionClass; | typedef struct _ValaCCodeParenthesizedExpressionClass ValaCCodeParenthesize dExpressionClass; | |||
typedef struct _ValaCCodeParenthesizedExpressionPrivate ValaCCodeParenthesi zedExpressionPrivate; | typedef struct _ValaCCodeParenthesizedExpressionPrivate ValaCCodeParenthesi zedExpressionPrivate; | |||
/** | /** | |||
* Represents a parenthesized expression in the C code. | * Represents a parenthesized expression in the C code. | |||
*/ | */ | |||
struct _ValaCCodeParenthesizedExpression { | struct _ValaCCodeParenthesizedExpression { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent_instance; | |||
ValaCCodeParenthesizedExpressionPrivate * priv; | ValaCCodeParenthesizedExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeParenthesizedExpressionClass { | struct _ValaCCodeParenthesizedExpressionClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent_class; | |||
}; | }; | |||
ValaCCodeParenthesizedExpression* vala_ccode_parenthesized_expression_new ( ValaCCodeExpression* expr); | ValaCCodeParenthesizedExpression* vala_ccode_parenthesized_expression_new ( ValaCCodeExpression* expr); | |||
ValaCCodeExpression* vala_ccode_parenthesized_expression_get_inner (ValaCCo deParenthesizedExpression* self); | ValaCCodeExpression* vala_ccode_parenthesized_expression_get_inner (ValaCCo deParenthesizedExpression* self); | |||
void vala_ccode_parenthesized_expression_set_inner (ValaCCodeParenthesizedE xpression* self, ValaCCodeExpression* value); | void vala_ccode_parenthesized_expression_set_inner (ValaCCodeParenthesizedE xpression* self, ValaCCodeExpression* value); | |||
GType vala_ccode_parenthesized_expression_get_type (void); | GType vala_ccode_parenthesized_expression_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodereturnstatement.h | valaccodereturnstatement.h | |||
---|---|---|---|---|
skipping to change at line 49 | skipping to change at line 49 | |||
#define VALA_CCODE_RETURN_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_RETURN_STATEMENT, ValaCCodeReturnStatementClass) ) | #define VALA_CCODE_RETURN_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_RETURN_STATEMENT, ValaCCodeReturnStatementClass) ) | |||
typedef struct _ValaCCodeReturnStatement ValaCCodeReturnStatement; | typedef struct _ValaCCodeReturnStatement ValaCCodeReturnStatement; | |||
typedef struct _ValaCCodeReturnStatementClass ValaCCodeReturnStatementClass ; | typedef struct _ValaCCodeReturnStatementClass ValaCCodeReturnStatementClass ; | |||
typedef struct _ValaCCodeReturnStatementPrivate ValaCCodeReturnStatementPri vate; | typedef struct _ValaCCodeReturnStatementPrivate ValaCCodeReturnStatementPri vate; | |||
/** | /** | |||
* Represents a return statement in the C code. | * Represents a return statement in the C code. | |||
*/ | */ | |||
struct _ValaCCodeReturnStatement { | struct _ValaCCodeReturnStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent_instance; | |||
ValaCCodeReturnStatementPrivate * priv; | ValaCCodeReturnStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeReturnStatementClass { | struct _ValaCCodeReturnStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent_class; | |||
}; | }; | |||
ValaCCodeReturnStatement* vala_ccode_return_statement_new (ValaCCodeExpress ion* expr); | ValaCCodeReturnStatement* vala_ccode_return_statement_new (ValaCCodeExpress ion* expr); | |||
ValaCCodeExpression* vala_ccode_return_statement_get_return_expression (Val aCCodeReturnStatement* self); | ValaCCodeExpression* vala_ccode_return_statement_get_return_expression (Val aCCodeReturnStatement* self); | |||
void vala_ccode_return_statement_set_return_expression (ValaCCodeReturnStat ement* self, ValaCCodeExpression* value); | void vala_ccode_return_statement_set_return_expression (ValaCCodeReturnStat ement* self, ValaCCodeExpression* value); | |||
GType vala_ccode_return_statement_get_type (void); | GType vala_ccode_return_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodestatement.h | valaccodestatement.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
#define VALA_CCODE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_CCODE_STATEMENT, ValaCCodeStatementClass)) | #define VALA_CCODE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_CCODE_STATEMENT, ValaCCodeStatementClass)) | |||
typedef struct _ValaCCodeStatement ValaCCodeStatement; | typedef struct _ValaCCodeStatement ValaCCodeStatement; | |||
typedef struct _ValaCCodeStatementClass ValaCCodeStatementClass; | typedef struct _ValaCCodeStatementClass ValaCCodeStatementClass; | |||
typedef struct _ValaCCodeStatementPrivate ValaCCodeStatementPrivate; | typedef struct _ValaCCodeStatementPrivate ValaCCodeStatementPrivate; | |||
/** | /** | |||
* Represents a statement in the C code. | * Represents a statement in the C code. | |||
*/ | */ | |||
struct _ValaCCodeStatement { | struct _ValaCCodeStatement { | |||
ValaCCodeNode parent; | ValaCCodeNode parent_instance; | |||
ValaCCodeStatementPrivate * priv; | ValaCCodeStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeStatementClass { | struct _ValaCCodeStatementClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent_class; | |||
}; | }; | |||
GType vala_ccode_statement_get_type (void); | GType vala_ccode_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodestruct.h | valaccodestruct.h | |||
---|---|---|---|---|
skipping to change at line 51 | skipping to change at line 51 | |||
#define VALA_CCODE_STRUCT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_STRUCT, ValaCCodeStructClass)) | #define VALA_CCODE_STRUCT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_STRUCT, ValaCCodeStructClass)) | |||
typedef struct _ValaCCodeStruct ValaCCodeStruct; | typedef struct _ValaCCodeStruct ValaCCodeStruct; | |||
typedef struct _ValaCCodeStructClass ValaCCodeStructClass; | typedef struct _ValaCCodeStructClass ValaCCodeStructClass; | |||
typedef struct _ValaCCodeStructPrivate ValaCCodeStructPrivate; | typedef struct _ValaCCodeStructPrivate ValaCCodeStructPrivate; | |||
/** | /** | |||
* Represents a struct declaration in the C code. | * Represents a struct declaration in the C code. | |||
*/ | */ | |||
struct _ValaCCodeStruct { | struct _ValaCCodeStruct { | |||
ValaCCodeNode parent; | ValaCCodeNode parent_instance; | |||
ValaCCodeStructPrivate * priv; | ValaCCodeStructPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeStructClass { | struct _ValaCCodeStructClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent_class; | |||
}; | }; | |||
ValaCCodeStruct* vala_ccode_struct_new (const char* name); | ValaCCodeStruct* vala_ccode_struct_new (const char* name); | |||
void vala_ccode_struct_add_declaration (ValaCCodeStruct* self, ValaCCodeDec laration* decl); | void vala_ccode_struct_add_declaration (ValaCCodeStruct* self, ValaCCodeDec laration* decl); | |||
void vala_ccode_struct_add_field (ValaCCodeStruct* self, const char* type_n ame, const char* name); | void vala_ccode_struct_add_field (ValaCCodeStruct* self, const char* type_n ame, const char* name); | |||
char* vala_ccode_struct_get_name (ValaCCodeStruct* self); | char* vala_ccode_struct_get_name (ValaCCodeStruct* self); | |||
void vala_ccode_struct_set_name (ValaCCodeStruct* self, const char* value); | void vala_ccode_struct_set_name (ValaCCodeStruct* self, const char* value); | |||
GType vala_ccode_struct_get_type (void); | GType vala_ccode_struct_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodeswitchstatement.h | valaccodeswitchstatement.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
#define VALA_CCODE_SWITCH_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_SWITCH_STATEMENT, ValaCCodeSwitchStatementClass) ) | #define VALA_CCODE_SWITCH_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_SWITCH_STATEMENT, ValaCCodeSwitchStatementClass) ) | |||
typedef struct _ValaCCodeSwitchStatement ValaCCodeSwitchStatement; | typedef struct _ValaCCodeSwitchStatement ValaCCodeSwitchStatement; | |||
typedef struct _ValaCCodeSwitchStatementClass ValaCCodeSwitchStatementClass ; | typedef struct _ValaCCodeSwitchStatementClass ValaCCodeSwitchStatementClass ; | |||
typedef struct _ValaCCodeSwitchStatementPrivate ValaCCodeSwitchStatementPri vate; | typedef struct _ValaCCodeSwitchStatementPrivate ValaCCodeSwitchStatementPri vate; | |||
/** | /** | |||
* Represents a switch selection statement in the C code. | * Represents a switch selection statement in the C code. | |||
*/ | */ | |||
struct _ValaCCodeSwitchStatement { | struct _ValaCCodeSwitchStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent_instance; | |||
ValaCCodeSwitchStatementPrivate * priv; | ValaCCodeSwitchStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeSwitchStatementClass { | struct _ValaCCodeSwitchStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent_class; | |||
}; | }; | |||
ValaCCodeSwitchStatement* vala_ccode_switch_statement_new (ValaCCodeExpress ion* expression); | ValaCCodeSwitchStatement* vala_ccode_switch_statement_new (ValaCCodeExpress ion* expression); | |||
void vala_ccode_switch_statement_add_case (ValaCCodeSwitchStatement* self, ValaCCodeCaseStatement* case_stmt); | void vala_ccode_switch_statement_add_case (ValaCCodeSwitchStatement* self, ValaCCodeCaseStatement* case_stmt); | |||
void vala_ccode_switch_statement_add_default_statement (ValaCCodeSwitchStat ement* self, ValaCCodeStatement* stmt); | void vala_ccode_switch_statement_add_default_statement (ValaCCodeSwitchStat ement* self, ValaCCodeStatement* stmt); | |||
ValaCCodeExpression* vala_ccode_switch_statement_get_expression (ValaCCodeS witchStatement* self); | ValaCCodeExpression* vala_ccode_switch_statement_get_expression (ValaCCodeS witchStatement* self); | |||
void vala_ccode_switch_statement_set_expression (ValaCCodeSwitchStatement* self, ValaCCodeExpression* value); | void vala_ccode_switch_statement_set_expression (ValaCCodeSwitchStatement* self, ValaCCodeExpression* value); | |||
GType vala_ccode_switch_statement_get_type (void); | GType vala_ccode_switch_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodetypedefinition.h | valaccodetypedefinition.h | |||
---|---|---|---|---|
skipping to change at line 51 | skipping to change at line 51 | |||
#define VALA_CCODE_TYPE_DEFINITION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_CCODE_TYPE_DEFINITION, ValaCCodeTypeDefinitionClass)) | #define VALA_CCODE_TYPE_DEFINITION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_CCODE_TYPE_DEFINITION, ValaCCodeTypeDefinitionClass)) | |||
typedef struct _ValaCCodeTypeDefinition ValaCCodeTypeDefinition; | typedef struct _ValaCCodeTypeDefinition ValaCCodeTypeDefinition; | |||
typedef struct _ValaCCodeTypeDefinitionClass ValaCCodeTypeDefinitionClass; | typedef struct _ValaCCodeTypeDefinitionClass ValaCCodeTypeDefinitionClass; | |||
typedef struct _ValaCCodeTypeDefinitionPrivate ValaCCodeTypeDefinitionPriva te; | typedef struct _ValaCCodeTypeDefinitionPrivate ValaCCodeTypeDefinitionPriva te; | |||
/** | /** | |||
* Represents a typedef in the C code. | * Represents a typedef in the C code. | |||
*/ | */ | |||
struct _ValaCCodeTypeDefinition { | struct _ValaCCodeTypeDefinition { | |||
ValaCCodeNode parent; | ValaCCodeNode parent_instance; | |||
ValaCCodeTypeDefinitionPrivate * priv; | ValaCCodeTypeDefinitionPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeTypeDefinitionClass { | struct _ValaCCodeTypeDefinitionClass { | |||
ValaCCodeNodeClass parent; | ValaCCodeNodeClass parent_class; | |||
}; | }; | |||
ValaCCodeTypeDefinition* vala_ccode_type_definition_new (const char* type, ValaCCodeDeclarator* decl); | ValaCCodeTypeDefinition* vala_ccode_type_definition_new (const char* type, ValaCCodeDeclarator* decl); | |||
char* vala_ccode_type_definition_get_type_name (ValaCCodeTypeDefinition* se lf); | char* vala_ccode_type_definition_get_type_name (ValaCCodeTypeDefinition* se lf); | |||
void vala_ccode_type_definition_set_type_name (ValaCCodeTypeDefinition* sel f, const char* value); | void vala_ccode_type_definition_set_type_name (ValaCCodeTypeDefinition* sel f, const char* value); | |||
ValaCCodeDeclarator* vala_ccode_type_definition_get_declarator (ValaCCodeTy peDefinition* self); | ValaCCodeDeclarator* vala_ccode_type_definition_get_declarator (ValaCCodeTy peDefinition* self); | |||
void vala_ccode_type_definition_set_declarator (ValaCCodeTypeDefinition* se lf, ValaCCodeDeclarator* value); | void vala_ccode_type_definition_set_declarator (ValaCCodeTypeDefinition* se lf, ValaCCodeDeclarator* value); | |||
GType vala_ccode_type_definition_get_type (void); | GType vala_ccode_type_definition_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodeunaryexpression.h | valaccodeunaryexpression.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_CCODE_UNARY_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_UNARY_EXPRESSION, ValaCCodeUnaryExpressionClass) ) | #define VALA_CCODE_UNARY_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CCODE_UNARY_EXPRESSION, ValaCCodeUnaryExpressionClass) ) | |||
typedef struct _ValaCCodeUnaryExpression ValaCCodeUnaryExpression; | typedef struct _ValaCCodeUnaryExpression ValaCCodeUnaryExpression; | |||
typedef struct _ValaCCodeUnaryExpressionClass ValaCCodeUnaryExpressionClass ; | typedef struct _ValaCCodeUnaryExpressionClass ValaCCodeUnaryExpressionClass ; | |||
typedef struct _ValaCCodeUnaryExpressionPrivate ValaCCodeUnaryExpressionPri vate; | typedef struct _ValaCCodeUnaryExpressionPrivate ValaCCodeUnaryExpressionPri vate; | |||
/** | /** | |||
* Represents an expression with one operand in the C code. | * Represents an expression with one operand in the C code. | |||
*/ | */ | |||
struct _ValaCCodeUnaryExpression { | struct _ValaCCodeUnaryExpression { | |||
ValaCCodeExpression parent; | ValaCCodeExpression parent_instance; | |||
ValaCCodeUnaryExpressionPrivate * priv; | ValaCCodeUnaryExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeUnaryExpressionClass { | struct _ValaCCodeUnaryExpressionClass { | |||
ValaCCodeExpressionClass parent; | ValaCCodeExpressionClass parent_class; | |||
}; | }; | |||
typedef enum { | typedef enum { | |||
VALA_CCODE_UNARY_OPERATOR_PLUS, | VALA_CCODE_UNARY_OPERATOR_PLUS, | |||
VALA_CCODE_UNARY_OPERATOR_MINUS, | VALA_CCODE_UNARY_OPERATOR_MINUS, | |||
VALA_CCODE_UNARY_OPERATOR_LOGICAL_NEGATION, | VALA_CCODE_UNARY_OPERATOR_LOGICAL_NEGATION, | |||
VALA_CCODE_UNARY_OPERATOR_BITWISE_COMPLEMENT, | VALA_CCODE_UNARY_OPERATOR_BITWISE_COMPLEMENT, | |||
VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, | VALA_CCODE_UNARY_OPERATOR_POINTER_INDIRECTION, | |||
VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, | VALA_CCODE_UNARY_OPERATOR_ADDRESS_OF, | |||
VALA_CCODE_UNARY_OPERATOR_PREFIX_INCREMENT, | VALA_CCODE_UNARY_OPERATOR_PREFIX_INCREMENT, | |||
VALA_CCODE_UNARY_OPERATOR_PREFIX_DECREMENT, | VALA_CCODE_UNARY_OPERATOR_PREFIX_DECREMENT, | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodevariabledeclarator.h | valaccodevariabledeclarator.h | |||
---|---|---|---|---|
skipping to change at line 51 | skipping to change at line 51 | |||
#define VALA_CCODE_VARIABLE_DECLARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_ CLASS ((obj), VALA_TYPE_CCODE_VARIABLE_DECLARATOR, ValaCCodeVariableDeclara torClass)) | #define VALA_CCODE_VARIABLE_DECLARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_ CLASS ((obj), VALA_TYPE_CCODE_VARIABLE_DECLARATOR, ValaCCodeVariableDeclara torClass)) | |||
typedef struct _ValaCCodeVariableDeclarator ValaCCodeVariableDeclarator; | typedef struct _ValaCCodeVariableDeclarator ValaCCodeVariableDeclarator; | |||
typedef struct _ValaCCodeVariableDeclaratorClass ValaCCodeVariableDeclarato rClass; | typedef struct _ValaCCodeVariableDeclaratorClass ValaCCodeVariableDeclarato rClass; | |||
typedef struct _ValaCCodeVariableDeclaratorPrivate ValaCCodeVariableDeclara torPrivate; | typedef struct _ValaCCodeVariableDeclaratorPrivate ValaCCodeVariableDeclara torPrivate; | |||
/** | /** | |||
* Represents a variable declarator in the C code. | * Represents a variable declarator in the C code. | |||
*/ | */ | |||
struct _ValaCCodeVariableDeclarator { | struct _ValaCCodeVariableDeclarator { | |||
ValaCCodeDeclarator parent; | ValaCCodeDeclarator parent_instance; | |||
ValaCCodeVariableDeclaratorPrivate * priv; | ValaCCodeVariableDeclaratorPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeVariableDeclaratorClass { | struct _ValaCCodeVariableDeclaratorClass { | |||
ValaCCodeDeclaratorClass parent; | ValaCCodeDeclaratorClass parent_class; | |||
}; | }; | |||
ValaCCodeVariableDeclarator* vala_ccode_variable_declarator_new (const char * _name); | ValaCCodeVariableDeclarator* vala_ccode_variable_declarator_new (const char * _name); | |||
ValaCCodeVariableDeclarator* vala_ccode_variable_declarator_new_with_initia lizer (const char* _name, ValaCCodeExpression* init); | ValaCCodeVariableDeclarator* vala_ccode_variable_declarator_new_with_initia lizer (const char* _name, ValaCCodeExpression* init); | |||
char* vala_ccode_variable_declarator_get_name (ValaCCodeVariableDeclarator* self); | char* vala_ccode_variable_declarator_get_name (ValaCCodeVariableDeclarator* self); | |||
void vala_ccode_variable_declarator_set_name (ValaCCodeVariableDeclarator* self, const char* value); | void vala_ccode_variable_declarator_set_name (ValaCCodeVariableDeclarator* self, const char* value); | |||
ValaCCodeExpression* vala_ccode_variable_declarator_get_initializer (ValaCC odeVariableDeclarator* self); | ValaCCodeExpression* vala_ccode_variable_declarator_get_initializer (ValaCC odeVariableDeclarator* self); | |||
void vala_ccode_variable_declarator_set_initializer (ValaCCodeVariableDecla rator* self, ValaCCodeExpression* value); | void vala_ccode_variable_declarator_set_initializer (ValaCCodeVariableDecla rator* self, ValaCCodeExpression* value); | |||
GType vala_ccode_variable_declarator_get_type (void); | GType vala_ccode_variable_declarator_get_type (void); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodewhilestatement.h | valaccodewhilestatement.h | |||
---|---|---|---|---|
skipping to change at line 49 | skipping to change at line 49 | |||
#define VALA_CCODE_WHILE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_CCODE_WHILE_STATEMENT, ValaCCodeWhileStatementClass)) | #define VALA_CCODE_WHILE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_CCODE_WHILE_STATEMENT, ValaCCodeWhileStatementClass)) | |||
typedef struct _ValaCCodeWhileStatement ValaCCodeWhileStatement; | typedef struct _ValaCCodeWhileStatement ValaCCodeWhileStatement; | |||
typedef struct _ValaCCodeWhileStatementClass ValaCCodeWhileStatementClass; | typedef struct _ValaCCodeWhileStatementClass ValaCCodeWhileStatementClass; | |||
typedef struct _ValaCCodeWhileStatementPrivate ValaCCodeWhileStatementPriva te; | typedef struct _ValaCCodeWhileStatementPrivate ValaCCodeWhileStatementPriva te; | |||
/** | /** | |||
* Represents a while iteration statement in the C code. | * Represents a while iteration statement in the C code. | |||
*/ | */ | |||
struct _ValaCCodeWhileStatement { | struct _ValaCCodeWhileStatement { | |||
ValaCCodeStatement parent; | ValaCCodeStatement parent_instance; | |||
ValaCCodeWhileStatementPrivate * priv; | ValaCCodeWhileStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeWhileStatementClass { | struct _ValaCCodeWhileStatementClass { | |||
ValaCCodeStatementClass parent; | ValaCCodeStatementClass parent_class; | |||
}; | }; | |||
ValaCCodeWhileStatement* vala_ccode_while_statement_new (ValaCCodeExpressio n* cond, ValaCCodeStatement* stmt); | ValaCCodeWhileStatement* vala_ccode_while_statement_new (ValaCCodeExpressio n* cond, ValaCCodeStatement* stmt); | |||
ValaCCodeExpression* vala_ccode_while_statement_get_condition (ValaCCodeWhi leStatement* self); | ValaCCodeExpression* vala_ccode_while_statement_get_condition (ValaCCodeWhi leStatement* self); | |||
void vala_ccode_while_statement_set_condition (ValaCCodeWhileStatement* sel f, ValaCCodeExpression* value); | void vala_ccode_while_statement_set_condition (ValaCCodeWhileStatement* sel f, ValaCCodeExpression* value); | |||
ValaCCodeStatement* vala_ccode_while_statement_get_body (ValaCCodeWhileStat ement* self); | ValaCCodeStatement* vala_ccode_while_statement_get_body (ValaCCodeWhileStat ement* self); | |||
void vala_ccode_while_statement_set_body (ValaCCodeWhileStatement* self, Va laCCodeStatement* value); | void vala_ccode_while_statement_set_body (ValaCCodeWhileStatement* self, Va laCCodeStatement* value); | |||
GType vala_ccode_while_statement_get_type (void); | GType vala_ccode_while_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaccodewriter.h | valaccodewriter.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
#define VALA_IS_CCODE_WRITER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_CCODE_WRITER)) | #define VALA_IS_CCODE_WRITER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_CCODE_WRITER)) | |||
#define VALA_IS_CCODE_WRITER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_CCODE_WRITER)) | #define VALA_IS_CCODE_WRITER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_CCODE_WRITER)) | |||
#define VALA_CCODE_WRITER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_WRITER, ValaCCodeWriterClass)) | #define VALA_CCODE_WRITER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CCODE_WRITER, ValaCCodeWriterClass)) | |||
typedef struct _ValaCCodeWriterPrivate ValaCCodeWriterPrivate; | typedef struct _ValaCCodeWriterPrivate ValaCCodeWriterPrivate; | |||
/** | /** | |||
* Represents a writer to write C source files. | * Represents a writer to write C source files. | |||
*/ | */ | |||
struct _ValaCCodeWriter { | struct _ValaCCodeWriter { | |||
GObject parent; | GObject parent_instance; | |||
ValaCCodeWriterPrivate * priv; | ValaCCodeWriterPrivate * priv; | |||
}; | }; | |||
struct _ValaCCodeWriterClass { | struct _ValaCCodeWriterClass { | |||
GObjectClass parent; | GObjectClass parent_class; | |||
}; | }; | |||
ValaCCodeWriter* vala_ccode_writer_new (const char* _filename); | ValaCCodeWriter* vala_ccode_writer_new (const char* _filename); | |||
void vala_ccode_writer_close (ValaCCodeWriter* self); | void vala_ccode_writer_close (ValaCCodeWriter* self); | |||
void vala_ccode_writer_write_indent (ValaCCodeWriter* self, ValaCCodeLineDi rective* line); | void vala_ccode_writer_write_indent (ValaCCodeWriter* self, ValaCCodeLineDi rective* line); | |||
void vala_ccode_writer_write_string (ValaCCodeWriter* self, const char* s); | void vala_ccode_writer_write_string (ValaCCodeWriter* self, const char* s); | |||
void vala_ccode_writer_write_newline (ValaCCodeWriter* self); | void vala_ccode_writer_write_newline (ValaCCodeWriter* self); | |||
void vala_ccode_writer_write_begin_block (ValaCCodeWriter* self); | void vala_ccode_writer_write_begin_block (ValaCCodeWriter* self); | |||
void vala_ccode_writer_write_end_block (ValaCCodeWriter* self); | void vala_ccode_writer_write_end_block (ValaCCodeWriter* self); | |||
void vala_ccode_writer_write_comment (ValaCCodeWriter* self, const char* te xt); | void vala_ccode_writer_write_comment (ValaCCodeWriter* self, const char* te xt); | |||
char* vala_ccode_writer_get_filename (ValaCCodeWriter* self); | char* vala_ccode_writer_get_filename (ValaCCodeWriter* self); | |||
void vala_ccode_writer_set_filename (ValaCCodeWriter* self, const char* val ue); | ||||
gboolean vala_ccode_writer_get_line_directives (ValaCCodeWriter* self); | gboolean vala_ccode_writer_get_line_directives (ValaCCodeWriter* self); | |||
void vala_ccode_writer_set_line_directives (ValaCCodeWriter* self, gboolean value); | void vala_ccode_writer_set_line_directives (ValaCCodeWriter* self, gboolean value); | |||
gboolean vala_ccode_writer_get_bol (ValaCCodeWriter* self); | gboolean vala_ccode_writer_get_bol (ValaCCodeWriter* self); | |||
GType vala_ccode_writer_get_type (void); | GType vala_ccode_writer_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valacharacterliteral.h | valacharacterliteral.h | |||
---|---|---|---|---|
skipping to change at line 49 | skipping to change at line 49 | |||
#define VALA_IS_CHARACTER_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CHARACTER_LITERAL)) | #define VALA_IS_CHARACTER_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CHARACTER_LITERAL)) | |||
#define VALA_IS_CHARACTER_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_CHARACTER_LITERAL)) | #define VALA_IS_CHARACTER_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_CHARACTER_LITERAL)) | |||
#define VALA_CHARACTER_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_CHARACTER_LITERAL, ValaCharacterLiteralClass)) | #define VALA_CHARACTER_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_CHARACTER_LITERAL, ValaCharacterLiteralClass)) | |||
typedef struct _ValaCharacterLiteralPrivate ValaCharacterLiteralPrivate; | typedef struct _ValaCharacterLiteralPrivate ValaCharacterLiteralPrivate; | |||
/** | /** | |||
* Represents a single literal character. | * Represents a single literal character. | |||
*/ | */ | |||
struct _ValaCharacterLiteral { | struct _ValaCharacterLiteral { | |||
ValaLiteral parent; | ValaLiteral parent_instance; | |||
ValaCharacterLiteralPrivate * priv; | ValaCharacterLiteralPrivate * priv; | |||
}; | }; | |||
struct _ValaCharacterLiteralClass { | struct _ValaCharacterLiteralClass { | |||
ValaLiteralClass parent; | ValaLiteralClass parent_class; | |||
}; | }; | |||
ValaCharacterLiteral* vala_character_literal_new (const char* c, ValaSource Reference* source); | ValaCharacterLiteral* vala_character_literal_new (const char* c, ValaSource Reference* source); | |||
gunichar vala_character_literal_get_char (ValaCharacterLiteral* self); | gunichar vala_character_literal_get_char (ValaCharacterLiteral* self); | |||
char* vala_character_literal_get_value (ValaCharacterLiteral* self); | char* vala_character_literal_get_value (ValaCharacterLiteral* self); | |||
void vala_character_literal_set_value (ValaCharacterLiteral* self, const ch ar* value); | void vala_character_literal_set_value (ValaCharacterLiteral* self, const ch ar* value); | |||
GType vala_character_literal_get_type (void); | GType vala_character_literal_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaclass.h | valaclass.h | |||
---|---|---|---|---|
/* valaclass.vala | /* valaclass.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 31 | skipping to change at line 31 | |||
*/ | */ | |||
#ifndef __VALA_VALACLASS_H__ | #ifndef __VALA_VALACLASS_H__ | |||
#define __VALA_VALACLASS_H__ | #define __VALA_VALACLASS_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <gee/collection.h> | #include <gee/collection.h> | |||
#include <vala/valadatatype.h> | #include <vala/valatypesymbol.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CLASS (vala_class_get_type ()) | #define VALA_TYPE_CLASS (vala_class_get_type ()) | |||
#define VALA_CLASS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CLASS , ValaClass)) | #define VALA_CLASS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_CLASS , ValaClass)) | |||
#define VALA_CLASS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP E_CLASS, ValaClassClass)) | #define VALA_CLASS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP E_CLASS, ValaClassClass)) | |||
#define VALA_IS_CLASS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CL ASS)) | #define VALA_IS_CLASS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CL ASS)) | |||
#define VALA_IS_CLASS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_ TYPE_CLASS)) | #define VALA_IS_CLASS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_ TYPE_CLASS)) | |||
#define VALA_CLASS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T YPE_CLASS, ValaClassClass)) | #define VALA_CLASS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T YPE_CLASS, ValaClassClass)) | |||
typedef struct _ValaClassPrivate ValaClassPrivate; | typedef struct _ValaClassPrivate ValaClassPrivate; | |||
/** | /** | |||
* Represents a class declaration in the source code. | * Represents a class declaration in the source code. | |||
*/ | */ | |||
struct _ValaClass { | struct _ValaClass { | |||
ValaDataType parent; | ValaTypesymbol parent_instance; | |||
ValaClassPrivate * priv; | ValaClassPrivate * priv; | |||
}; | }; | |||
struct _ValaClassClass { | struct _ValaClassClass { | |||
ValaDataTypeClass parent; | ValaTypesymbolClass parent_class; | |||
}; | }; | |||
ValaClass* vala_class_new (const char* name, ValaSourceReference* source_re ference); | ValaClass* vala_class_new (const char* name, ValaSourceReference* source_re ference); | |||
void vala_class_add_base_type (ValaClass* self, ValaTypeReference* type); | void vala_class_add_base_type (ValaClass* self, ValaDataType* type); | |||
GeeCollection* vala_class_get_base_types (ValaClass* self); | GeeCollection* vala_class_get_base_types (ValaClass* self); | |||
void vala_class_add_type_parameter (ValaClass* self, ValaTypeParameter* p); | void vala_class_add_type_parameter (ValaClass* self, ValaTypeParameter* p); | |||
GeeCollection* vala_class_get_type_parameters (ValaClass* self); | GeeCollection* vala_class_get_type_parameters (ValaClass* self); | |||
void vala_class_add_constant (ValaClass* self, ValaConstant* c); | void vala_class_add_constant (ValaClass* self, ValaConstant* c); | |||
void vala_class_add_field (ValaClass* self, ValaField* f); | void vala_class_add_field (ValaClass* self, ValaField* f); | |||
GeeCollection* vala_class_get_fields (ValaClass* self); | GeeCollection* vala_class_get_fields (ValaClass* self); | |||
void vala_class_add_method (ValaClass* self, ValaMethod* m); | void vala_class_add_method (ValaClass* self, ValaMethod* m); | |||
GeeCollection* vala_class_get_methods (ValaClass* self); | GeeCollection* vala_class_get_methods (ValaClass* self); | |||
void vala_class_add_property (ValaClass* self, ValaProperty* prop, gboolean no_field); | void vala_class_add_property (ValaClass* self, ValaProperty* prop, gboolean no_field); | |||
GeeCollection* vala_class_get_properties (ValaClass* self); | GeeCollection* vala_class_get_properties (ValaClass* self); | |||
End of changes. 5 change blocks. | ||||
5 lines changed or deleted | 5 lines changed or added | |||
valaclassregisterfunction.h | valaclassregisterfunction.h | |||
---|---|---|---|---|
skipping to change at line 29 | skipping to change at line 29 | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __GOBJECT_VALACLASSREGISTERFUNCTION_H__ | #ifndef __GOBJECT_VALACLASSREGISTERFUNCTION_H__ | |||
#define __GOBJECT_VALACLASSREGISTERFUNCTION_H__ | #define __GOBJECT_VALACLASSREGISTERFUNCTION_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valaclass.h> | #include <vala/valaclass.h> | |||
#include <vala/valadatatype.h> | #include <vala/valatypesymbol.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <vala/valasymbol.h> | #include <vala/valasymbol.h> | |||
#include <ccode/valaccodefragment.h> | #include <ccode/valaccodefragment.h> | |||
#include <gobject/valatyperegisterfunction.h> | #include <gobject/valatyperegisterfunction.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_CLASS_REGISTER_FUNCTION (vala_class_register_function_get _type ()) | #define VALA_TYPE_CLASS_REGISTER_FUNCTION (vala_class_register_function_get _type ()) | |||
#define VALA_CLASS_REGISTER_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj ), VALA_TYPE_CLASS_REGISTER_FUNCTION, ValaClassRegisterFunction)) | #define VALA_CLASS_REGISTER_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj ), VALA_TYPE_CLASS_REGISTER_FUNCTION, ValaClassRegisterFunction)) | |||
skipping to change at line 53 | skipping to change at line 53 | |||
#define VALA_CLASS_REGISTER_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CL ASS ((obj), VALA_TYPE_CLASS_REGISTER_FUNCTION, ValaClassRegisterFunctionCla ss)) | #define VALA_CLASS_REGISTER_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CL ASS ((obj), VALA_TYPE_CLASS_REGISTER_FUNCTION, ValaClassRegisterFunctionCla ss)) | |||
typedef struct _ValaClassRegisterFunction ValaClassRegisterFunction; | typedef struct _ValaClassRegisterFunction ValaClassRegisterFunction; | |||
typedef struct _ValaClassRegisterFunctionClass ValaClassRegisterFunctionCla ss; | typedef struct _ValaClassRegisterFunctionClass ValaClassRegisterFunctionCla ss; | |||
typedef struct _ValaClassRegisterFunctionPrivate ValaClassRegisterFunctionP rivate; | typedef struct _ValaClassRegisterFunctionPrivate ValaClassRegisterFunctionP rivate; | |||
/** | /** | |||
* C function to register a class at runtime. | * C function to register a class at runtime. | |||
*/ | */ | |||
struct _ValaClassRegisterFunction { | struct _ValaClassRegisterFunction { | |||
ValaTypeRegisterFunction parent; | ValaTypeRegisterFunction parent_instance; | |||
ValaClassRegisterFunctionPrivate * priv; | ValaClassRegisterFunctionPrivate * priv; | |||
}; | }; | |||
struct _ValaClassRegisterFunctionClass { | struct _ValaClassRegisterFunctionClass { | |||
ValaTypeRegisterFunctionClass parent; | ValaTypeRegisterFunctionClass parent_class; | |||
}; | }; | |||
ValaClassRegisterFunction* vala_class_register_function_new (ValaClass* cl) ; | ValaClassRegisterFunction* vala_class_register_function_new (ValaClass* cl) ; | |||
ValaClass* vala_class_register_function_get_class_reference (ValaClassRegis terFunction* self); | ValaClass* vala_class_register_function_get_class_reference (ValaClassRegis terFunction* self); | |||
void vala_class_register_function_set_class_reference (ValaClassRegisterFun ction* self, ValaClass* value); | void vala_class_register_function_set_class_reference (ValaClassRegisterFun ction* self, ValaClass* value); | |||
GType vala_class_register_function_get_type (void); | GType vala_class_register_function_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
valacodebinding.h | valacodebinding.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_CODE_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CODE_BINDING, ValaCodeBindingClass)) | #define VALA_CODE_BINDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CODE_BINDING, ValaCodeBindingClass)) | |||
typedef struct _ValaCodeBinding ValaCodeBinding; | typedef struct _ValaCodeBinding ValaCodeBinding; | |||
typedef struct _ValaCodeBindingClass ValaCodeBindingClass; | typedef struct _ValaCodeBindingClass ValaCodeBindingClass; | |||
typedef struct _ValaCodeBindingPrivate ValaCodeBindingPrivate; | typedef struct _ValaCodeBindingPrivate ValaCodeBindingPrivate; | |||
/** | /** | |||
* The link between a source code node and generated code. | * The link between a source code node and generated code. | |||
*/ | */ | |||
struct _ValaCodeBinding { | struct _ValaCodeBinding { | |||
GObject parent; | GObject parent_instance; | |||
ValaCodeBindingPrivate * priv; | ValaCodeBindingPrivate * priv; | |||
}; | }; | |||
struct _ValaCodeBindingClass { | struct _ValaCodeBindingClass { | |||
GObjectClass parent; | GObjectClass parent_class; | |||
void (*emit) (ValaCodeBinding* self); | void (*emit) (ValaCodeBinding* self); | |||
}; | }; | |||
void vala_code_binding_emit (ValaCodeBinding* self); | void vala_code_binding_emit (ValaCodeBinding* self); | |||
GType vala_code_binding_get_type (void); | GType vala_code_binding_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valacodecontext.h | valacodecontext.h | |||
---|---|---|---|---|
/* valacodecontext.vala | /* valacodecontext.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 51 | skipping to change at line 51 | |||
#define VALA_IS_CODE_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_CODE_CONTEXT)) | #define VALA_IS_CODE_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_CODE_CONTEXT)) | |||
#define VALA_IS_CODE_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_CODE_CONTEXT)) | #define VALA_IS_CODE_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_CODE_CONTEXT)) | |||
#define VALA_CODE_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CODE_CONTEXT, ValaCodeContextClass)) | #define VALA_CODE_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CODE_CONTEXT, ValaCodeContextClass)) | |||
typedef struct _ValaCodeContextPrivate ValaCodeContextPrivate; | typedef struct _ValaCodeContextPrivate ValaCodeContextPrivate; | |||
/** | /** | |||
* The root of the code tree. | * The root of the code tree. | |||
*/ | */ | |||
struct _ValaCodeContext { | struct _ValaCodeContext { | |||
GObject parent; | GObject parent_instance; | |||
ValaCodeContextPrivate * priv; | ValaCodeContextPrivate * priv; | |||
}; | }; | |||
struct _ValaCodeContextClass { | struct _ValaCodeContextClass { | |||
GObjectClass parent; | GObjectClass parent_class; | |||
}; | }; | |||
ValaCodeContext* vala_code_context_new (void); | ValaCodeContext* vala_code_context_new (void); | |||
gboolean vala_code_context_is_non_null_enabled (void); | ||||
GeeCollection* vala_code_context_get_source_files (ValaCodeContext* self); | GeeCollection* vala_code_context_get_source_files (ValaCodeContext* self); | |||
GeeCollection* vala_code_context_get_c_source_files (ValaCodeContext* self) ; | GeeCollection* vala_code_context_get_c_source_files (ValaCodeContext* self) ; | |||
void vala_code_context_add_source_file (ValaCodeContext* self, ValaSourceFi le* file); | void vala_code_context_add_source_file (ValaCodeContext* self, ValaSourceFi le* file); | |||
void vala_code_context_add_c_source_file (ValaCodeContext* self, const char * file); | void vala_code_context_add_c_source_file (ValaCodeContext* self, const char * file); | |||
GeeCollection* vala_code_context_get_packages (ValaCodeContext* self); | GeeCollection* vala_code_context_get_packages (ValaCodeContext* self); | |||
gboolean vala_code_context_has_package (ValaCodeContext* self, const char* pkg); | gboolean vala_code_context_has_package (ValaCodeContext* self, const char* pkg); | |||
void vala_code_context_add_package (ValaCodeContext* self, const char* pkg) ; | void vala_code_context_add_package (ValaCodeContext* self, const char* pkg) ; | |||
void vala_code_context_accept (ValaCodeContext* self, ValaCodeVisitor* visi tor); | void vala_code_context_accept (ValaCodeContext* self, ValaCodeVisitor* visi tor); | |||
void vala_code_context_find_header_cycles (ValaCodeContext* self); | void vala_code_context_find_header_cycles (ValaCodeContext* self); | |||
void vala_code_context_add_define (ValaCodeContext* self, const char* defin | ||||
e); | ||||
gboolean vala_code_context_ignore_node (ValaCodeContext* self, ValaCodeNode | ||||
* node); | ||||
ValaNamespace* vala_code_context_create_namespace (ValaCodeContext* self, c onst char* name, ValaSourceReference* source_reference); | ValaNamespace* vala_code_context_create_namespace (ValaCodeContext* self, c onst char* name, ValaSourceReference* source_reference); | |||
ValaClass* vala_code_context_create_class (ValaCodeContext* self, const cha r* name, ValaSourceReference* source_reference); | ValaClass* vala_code_context_create_class (ValaCodeContext* self, const cha r* name, ValaSourceReference* source_reference); | |||
ValaStruct* vala_code_context_create_struct (ValaCodeContext* self, const c har* name, ValaSourceReference* source_reference); | ValaStruct* vala_code_context_create_struct (ValaCodeContext* self, const c har* name, ValaSourceReference* source_reference); | |||
ValaInterface* vala_code_context_create_interface (ValaCodeContext* self, c onst char* name, ValaSourceReference* source_reference); | ValaInterface* vala_code_context_create_interface (ValaCodeContext* self, c onst char* name, ValaSourceReference* source_reference); | |||
ValaEnum* vala_code_context_create_enum (ValaCodeContext* self, const char* name, ValaSourceReference* source_reference); | ValaEnum* vala_code_context_create_enum (ValaCodeContext* self, const char* name, ValaSourceReference* source_reference); | |||
ValaEnumValue* vala_code_context_create_enum_value (ValaCodeContext* self, const char* name); | ValaEnumValue* vala_code_context_create_enum_value (ValaCodeContext* self, const char* name); | |||
ValaEnumValue* vala_code_context_create_enum_value_with_value (ValaCodeCont ext* self, const char* name, ValaExpression* value); | ValaEnumValue* vala_code_context_create_enum_value_with_value (ValaCodeCont ext* self, const char* name, ValaExpression* value); | |||
ValaCallback* vala_code_context_create_callback (ValaCodeContext* self, con | ValaDelegate* vala_code_context_create_delegate (ValaCodeContext* self, con | |||
st char* name, ValaTypeReference* return_type, ValaSourceReference* source_ | st char* name, ValaDataType* return_type, ValaSourceReference* source_refer | |||
reference); | ence); | |||
ValaConstant* vala_code_context_create_constant (ValaCodeContext* self, con | ValaConstant* vala_code_context_create_constant (ValaCodeContext* self, con | |||
st char* name, ValaTypeReference* type_reference, ValaExpression* initializ | st char* name, ValaDataType* type_reference, ValaExpression* initializer, V | |||
er, ValaSourceReference* source_reference); | alaSourceReference* source_reference); | |||
ValaField* vala_code_context_create_field (ValaCodeContext* self, const cha | ValaField* vala_code_context_create_field (ValaCodeContext* self, const cha | |||
r* name, ValaTypeReference* type_reference, ValaExpression* initializer, Va | r* name, ValaDataType* type_reference, ValaExpression* initializer, ValaSou | |||
laSourceReference* source_reference); | rceReference* source_reference); | |||
ValaMethod* vala_code_context_create_method (ValaCodeContext* self, const c | ValaMethod* vala_code_context_create_method (ValaCodeContext* self, const c | |||
har* name, ValaTypeReference* return_type, ValaSourceReference* source_refe | har* name, ValaDataType* return_type, ValaSourceReference* source_reference | |||
rence); | ); | |||
ValaCreationMethod* vala_code_context_create_creation_method (ValaCodeConte xt* self, const char* type_name, const char* name, ValaSourceReference* sou rce_reference); | ValaCreationMethod* vala_code_context_create_creation_method (ValaCodeConte xt* self, const char* type_name, const char* name, ValaSourceReference* sou rce_reference); | |||
ValaFormalParameter* vala_code_context_create_formal_parameter (ValaCodeCon text* self, const char* name, ValaTypeReference* type_reference, ValaSource Reference* source_reference); | ValaFormalParameter* vala_code_context_create_formal_parameter (ValaCodeCon text* self, const char* name, ValaDataType* type_reference, ValaSourceRefer ence* source_reference); | |||
ValaFormalParameter* vala_code_context_create_formal_parameter_with_ellipsi s (ValaCodeContext* self, ValaSourceReference* source_reference); | ValaFormalParameter* vala_code_context_create_formal_parameter_with_ellipsi s (ValaCodeContext* self, ValaSourceReference* source_reference); | |||
ValaProperty* vala_code_context_create_property (ValaCodeContext* self, con st char* name, ValaTypeReference* type_reference, ValaPropertyAccessor* get _accessor, ValaPropertyAccessor* set_accessor, ValaSourceReference* source_ reference); | ValaProperty* vala_code_context_create_property (ValaCodeContext* self, con st char* name, ValaDataType* type_reference, ValaPropertyAccessor* get_acce ssor, ValaPropertyAccessor* set_accessor, ValaSourceReference* source_refer ence); | |||
ValaPropertyAccessor* vala_code_context_create_property_accessor (ValaCodeC ontext* self, gboolean readable, gboolean writable, gboolean construction, ValaBlock* body, ValaSourceReference* source_reference); | ValaPropertyAccessor* vala_code_context_create_property_accessor (ValaCodeC ontext* self, gboolean readable, gboolean writable, gboolean construction, ValaBlock* body, ValaSourceReference* source_reference); | |||
ValaSignal* vala_code_context_create_signal (ValaCodeContext* self, const c har* name, ValaTypeReference* return_type, ValaSourceReference* source_refe rence); | ValaSignal* vala_code_context_create_signal (ValaCodeContext* self, const c har* name, ValaDataType* return_type, ValaSourceReference* source_reference ); | |||
ValaConstructor* vala_code_context_create_constructor (ValaCodeContext* sel f, ValaSourceReference* source_reference); | ValaConstructor* vala_code_context_create_constructor (ValaCodeContext* sel f, ValaSourceReference* source_reference); | |||
ValaDestructor* vala_code_context_create_destructor (ValaCodeContext* self, ValaSourceReference* source_reference); | ValaDestructor* vala_code_context_create_destructor (ValaCodeContext* self, ValaSourceReference* source_reference); | |||
ValaTypeParameter* vala_code_context_create_type_parameter (ValaCodeContext * self, const char* name, ValaSourceReference* source_reference); | ValaTypeParameter* vala_code_context_create_type_parameter (ValaCodeContext * self, const char* name, ValaSourceReference* source_reference); | |||
ValaBlock* vala_code_context_create_block (ValaCodeContext* self, ValaSourc eReference* source_reference); | ValaBlock* vala_code_context_create_block (ValaCodeContext* self, ValaSourc eReference* source_reference); | |||
ValaEmptyStatement* vala_code_context_create_empty_statement (ValaCodeConte xt* self, ValaSourceReference* source_reference); | ValaEmptyStatement* vala_code_context_create_empty_statement (ValaCodeConte xt* self, ValaSourceReference* source_reference); | |||
ValaDeclarationStatement* vala_code_context_create_declaration_statement (V alaCodeContext* self, ValaLocalVariableDeclaration* declaration, ValaSource Reference* source_reference); | ValaDeclarationStatement* vala_code_context_create_declaration_statement (V alaCodeContext* self, ValaLocalVariableDeclaration* declaration, ValaSource Reference* source_reference); | |||
ValaLocalVariableDeclaration* vala_code_context_create_local_variable_decla ration (ValaCodeContext* self, ValaTypeReference* type_reference, ValaSourc eReference* source_reference); | ValaLocalVariableDeclaration* vala_code_context_create_local_variable_decla ration (ValaCodeContext* self, ValaDataType* type_reference, ValaSourceRefe rence* source_reference); | |||
ValaLocalVariableDeclaration* vala_code_context_create_local_variable_decla ration_var_type (ValaCodeContext* self, ValaSourceReference* source_referen ce); | ValaLocalVariableDeclaration* vala_code_context_create_local_variable_decla ration_var_type (ValaCodeContext* self, ValaSourceReference* source_referen ce); | |||
ValaVariableDeclarator* vala_code_context_create_variable_declarator (ValaC odeContext* self, const char* name, ValaExpression* initializer, ValaSource Reference* source_reference); | ValaVariableDeclarator* vala_code_context_create_variable_declarator (ValaC odeContext* self, const char* name, ValaExpression* initializer, ValaSource Reference* source_reference); | |||
ValaInitializerList* vala_code_context_create_initializer_list (ValaCodeCon text* self, ValaSourceReference* source_reference); | ValaInitializerList* vala_code_context_create_initializer_list (ValaCodeCon text* self, ValaSourceReference* source_reference); | |||
ValaExpressionStatement* vala_code_context_create_expression_statement (Val aCodeContext* self, ValaExpression* expression, ValaSourceReference* source _reference); | ValaExpressionStatement* vala_code_context_create_expression_statement (Val aCodeContext* self, ValaExpression* expression, ValaSourceReference* source _reference); | |||
ValaIfStatement* vala_code_context_create_if_statement (ValaCodeContext* se lf, ValaExpression* condition, ValaBlock* true_statement, ValaBlock* false_ statement, ValaSourceReference* source_reference); | ValaIfStatement* vala_code_context_create_if_statement (ValaCodeContext* se lf, ValaExpression* condition, ValaBlock* true_statement, ValaBlock* false_ statement, ValaSourceReference* source_reference); | |||
ValaSwitchStatement* vala_code_context_create_switch_statement (ValaCodeCon text* self, ValaExpression* expression, ValaSourceReference* source_referen ce); | ValaSwitchStatement* vala_code_context_create_switch_statement (ValaCodeCon text* self, ValaExpression* expression, ValaSourceReference* source_referen ce); | |||
ValaSwitchSection* vala_code_context_create_switch_section (ValaCodeContext * self, ValaSourceReference* source_reference); | ValaSwitchSection* vala_code_context_create_switch_section (ValaCodeContext * self, ValaSourceReference* source_reference); | |||
ValaSwitchLabel* vala_code_context_create_switch_label (ValaCodeContext* se lf, ValaExpression* expression, ValaSourceReference* source_reference); | ValaSwitchLabel* vala_code_context_create_switch_label (ValaCodeContext* se lf, ValaExpression* expression, ValaSourceReference* source_reference); | |||
ValaSwitchLabel* vala_code_context_create_switch_label_with_default (ValaCo deContext* self, ValaSourceReference* source_reference); | ValaSwitchLabel* vala_code_context_create_switch_label_with_default (ValaCo deContext* self, ValaSourceReference* source_reference); | |||
ValaWhileStatement* vala_code_context_create_while_statement (ValaCodeConte xt* self, ValaExpression* condition, ValaBlock* body, ValaSourceReference* source_reference); | ValaWhileStatement* vala_code_context_create_while_statement (ValaCodeConte xt* self, ValaExpression* condition, ValaBlock* body, ValaSourceReference* source_reference); | |||
ValaDoStatement* vala_code_context_create_do_statement (ValaCodeContext* se lf, ValaBlock* body, ValaExpression* condition, ValaSourceReference* source _reference); | ValaDoStatement* vala_code_context_create_do_statement (ValaCodeContext* se lf, ValaBlock* body, ValaExpression* condition, ValaSourceReference* source _reference); | |||
ValaForStatement* vala_code_context_create_for_statement (ValaCodeContext* self, ValaExpression* condition, ValaBlock* body, ValaSourceReference* sour ce_reference); | ValaForStatement* vala_code_context_create_for_statement (ValaCodeContext* self, ValaExpression* condition, ValaBlock* body, ValaSourceReference* sour ce_reference); | |||
ValaForeachStatement* vala_code_context_create_foreach_statement (ValaCodeC ontext* self, ValaTypeReference* type_reference, const char* variable_name, ValaExpression* collection, ValaBlock* body, ValaSourceReference* source_r eference); | ValaForeachStatement* vala_code_context_create_foreach_statement (ValaCodeC ontext* self, ValaDataType* type_reference, const char* variable_name, Vala Expression* collection, ValaBlock* body, ValaSourceReference* source_refere nce); | |||
ValaBreakStatement* vala_code_context_create_break_statement (ValaCodeConte xt* self, ValaSourceReference* source_reference); | ValaBreakStatement* vala_code_context_create_break_statement (ValaCodeConte xt* self, ValaSourceReference* source_reference); | |||
ValaContinueStatement* vala_code_context_create_continue_statement (ValaCod eContext* self, ValaSourceReference* source_reference); | ValaContinueStatement* vala_code_context_create_continue_statement (ValaCod eContext* self, ValaSourceReference* source_reference); | |||
ValaReturnStatement* vala_code_context_create_return_statement (ValaCodeCon text* self, ValaExpression* return_expression, ValaSourceReference* source_ reference); | ValaReturnStatement* vala_code_context_create_return_statement (ValaCodeCon text* self, ValaExpression* return_expression, ValaSourceReference* source_ reference); | |||
ValaThrowStatement* vala_code_context_create_throw_statement (ValaCodeConte xt* self, ValaExpression* error_expression, ValaSourceReference* source_ref erence); | ValaThrowStatement* vala_code_context_create_throw_statement (ValaCodeConte xt* self, ValaExpression* error_expression, ValaSourceReference* source_ref erence); | |||
ValaTryStatement* vala_code_context_create_try_statement (ValaCodeContext* self, ValaBlock* body, ValaBlock* finally_body, ValaSourceReference* source _reference); | ValaTryStatement* vala_code_context_create_try_statement (ValaCodeContext* self, ValaBlock* body, ValaBlock* finally_body, ValaSourceReference* source _reference); | |||
ValaCatchClause* vala_code_context_create_catch_clause (ValaCodeContext* se lf, ValaTypeReference* type_reference, const char* variable_name, ValaBlock * body, ValaSourceReference* source_reference); | ValaCatchClause* vala_code_context_create_catch_clause (ValaCodeContext* se lf, ValaDataType* type_reference, const char* variable_name, ValaBlock* bod y, ValaSourceReference* source_reference); | |||
ValaLockStatement* vala_code_context_create_lock_statement (ValaCodeContext * self, ValaExpression* resource, ValaBlock* body, ValaSourceReference* sou rce_reference); | ValaLockStatement* vala_code_context_create_lock_statement (ValaCodeContext * self, ValaExpression* resource, ValaBlock* body, ValaSourceReference* sou rce_reference); | |||
ValaArrayCreationExpression* vala_code_context_create_array_creation_expres sion (ValaCodeContext* self, ValaTypeReference* element_type, gint rank, Va laInitializerList* initializer_list, ValaSourceReference* source_reference) ; | ValaArrayCreationExpression* vala_code_context_create_array_creation_expres sion (ValaCodeContext* self, ValaDataType* element_type, gint rank, ValaIni tializerList* initializer_list, ValaSourceReference* source_reference); | |||
ValaBooleanLiteral* vala_code_context_create_boolean_literal (ValaCodeConte xt* self, gboolean value, ValaSourceReference* source_reference); | ValaBooleanLiteral* vala_code_context_create_boolean_literal (ValaCodeConte xt* self, gboolean value, ValaSourceReference* source_reference); | |||
ValaCharacterLiteral* vala_code_context_create_character_literal (ValaCodeC ontext* self, const char* value, ValaSourceReference* source_reference); | ValaCharacterLiteral* vala_code_context_create_character_literal (ValaCodeC ontext* self, const char* value, ValaSourceReference* source_reference); | |||
ValaIntegerLiteral* vala_code_context_create_integer_literal (ValaCodeConte xt* self, const char* value, ValaSourceReference* source_reference); | ValaIntegerLiteral* vala_code_context_create_integer_literal (ValaCodeConte xt* self, const char* value, ValaSourceReference* source_reference); | |||
ValaRealLiteral* vala_code_context_create_real_literal (ValaCodeContext* se lf, const char* value, ValaSourceReference* source_reference); | ValaRealLiteral* vala_code_context_create_real_literal (ValaCodeContext* se lf, const char* value, ValaSourceReference* source_reference); | |||
ValaStringLiteral* vala_code_context_create_string_literal (ValaCodeContext * self, const char* value, ValaSourceReference* source_reference); | ValaStringLiteral* vala_code_context_create_string_literal (ValaCodeContext * self, const char* value, ValaSourceReference* source_reference); | |||
ValaNullLiteral* vala_code_context_create_null_literal (ValaCodeContext* se lf, ValaSourceReference* source_reference); | ValaNullLiteral* vala_code_context_create_null_literal (ValaCodeContext* se lf, ValaSourceReference* source_reference); | |||
ValaLiteralExpression* vala_code_context_create_literal_expression (ValaCod eContext* self, ValaLiteral* literal, ValaSourceReference* source_reference ); | ValaLiteralExpression* vala_code_context_create_literal_expression (ValaCod eContext* self, ValaLiteral* literal, ValaSourceReference* source_reference ); | |||
ValaParenthesizedExpression* vala_code_context_create_parenthesized_express ion (ValaCodeContext* self, ValaExpression* inner, ValaSourceReference* sou rce_reference); | ValaParenthesizedExpression* vala_code_context_create_parenthesized_express ion (ValaCodeContext* self, ValaExpression* inner, ValaSourceReference* sou rce_reference); | |||
ValaMemberAccess* vala_code_context_create_member_access (ValaCodeContext* self, ValaExpression* inner, const char* member_name, ValaSourceReference* source_reference); | ValaMemberAccess* vala_code_context_create_member_access (ValaCodeContext* self, ValaExpression* inner, const char* member_name, ValaSourceReference* source_reference); | |||
ValaMemberAccess* vala_code_context_create_member_access_simple (ValaCodeCo ntext* self, const char* member_name, ValaSourceReference* source_reference ); | ValaMemberAccess* vala_code_context_create_member_access_simple (ValaCodeCo ntext* self, const char* member_name, ValaSourceReference* source_reference ); | |||
ValaMemberAccess* vala_code_context_create_member_access_pointer (ValaCodeC ontext* self, ValaExpression* inner, const char* member_name, ValaSourceRef erence* source_reference); | ||||
ValaInvocationExpression* vala_code_context_create_invocation_expression (V alaCodeContext* self, ValaExpression* call, ValaSourceReference* source_ref erence); | ValaInvocationExpression* vala_code_context_create_invocation_expression (V alaCodeContext* self, ValaExpression* call, ValaSourceReference* source_ref erence); | |||
ValaElementAccess* vala_code_context_create_element_access (ValaCodeContext * self, ValaExpression* container, ValaSourceReference* source_reference); | ValaElementAccess* vala_code_context_create_element_access (ValaCodeContext * self, ValaExpression* container, ValaSourceReference* source_reference); | |||
ValaBaseAccess* vala_code_context_create_base_access (ValaCodeContext* self , ValaSourceReference* source_reference); | ValaBaseAccess* vala_code_context_create_base_access (ValaCodeContext* self , ValaSourceReference* source_reference); | |||
ValaPostfixExpression* vala_code_context_create_postfix_expression (ValaCod eContext* self, ValaExpression* inner, gboolean increment, ValaSourceRefere nce* source_reference); | ValaPostfixExpression* vala_code_context_create_postfix_expression (ValaCod eContext* self, ValaExpression* inner, gboolean increment, ValaSourceRefere nce* source_reference); | |||
ValaObjectCreationExpression* vala_code_context_create_object_creation_expr ession (ValaCodeContext* self, ValaMemberAccess* member_name, ValaSourceRef erence* source_reference); | ValaObjectCreationExpression* vala_code_context_create_object_creation_expr ession (ValaCodeContext* self, ValaMemberAccess* member_name, ValaSourceRef erence* source_reference); | |||
ValaSizeofExpression* vala_code_context_create_sizeof_expression (ValaCodeC | ValaSizeofExpression* vala_code_context_create_sizeof_expression (ValaCodeC | |||
ontext* self, ValaTypeReference* type_reference, ValaSourceReference* sourc | ontext* self, ValaDataType* type_reference, ValaSourceReference* source_ref | |||
e_reference); | erence); | |||
ValaTypeofExpression* vala_code_context_create_typeof_expression (ValaCodeC | ValaTypeofExpression* vala_code_context_create_typeof_expression (ValaCodeC | |||
ontext* self, ValaTypeReference* type_reference, ValaSourceReference* sourc | ontext* self, ValaDataType* type_reference, ValaSourceReference* source_ref | |||
e_reference); | erence); | |||
ValaUnaryExpression* vala_code_context_create_unary_expression (ValaCodeCon text* self, ValaUnaryOperator operator, ValaExpression* inner, ValaSourceRe ference* source_reference); | ValaUnaryExpression* vala_code_context_create_unary_expression (ValaCodeCon text* self, ValaUnaryOperator operator, ValaExpression* inner, ValaSourceRe ference* source_reference); | |||
ValaCastExpression* vala_code_context_create_cast_expression (ValaCodeConte xt* self, ValaExpression* inner, ValaTypeReference* type_reference, ValaSou rceReference* source_reference, gboolean is_silent_cast); | ValaCastExpression* vala_code_context_create_cast_expression (ValaCodeConte xt* self, ValaExpression* inner, ValaDataType* type_reference, ValaSourceRe ference* source_reference, gboolean is_silent_cast); | |||
ValaPointerIndirection* vala_code_context_create_pointer_indirection (ValaC odeContext* self, ValaExpression* inner, ValaSourceReference* source_refere nce); | ValaPointerIndirection* vala_code_context_create_pointer_indirection (ValaC odeContext* self, ValaExpression* inner, ValaSourceReference* source_refere nce); | |||
ValaAddressofExpression* vala_code_context_create_addressof_expression (Val aCodeContext* self, ValaExpression* inner, ValaSourceReference* source_refe rence); | ValaAddressofExpression* vala_code_context_create_addressof_expression (Val aCodeContext* self, ValaExpression* inner, ValaSourceReference* source_refe rence); | |||
ValaReferenceTransferExpression* vala_code_context_create_reference_transfe r_expression (ValaCodeContext* self, ValaExpression* inner, ValaSourceRefer ence* source_reference); | ValaReferenceTransferExpression* vala_code_context_create_reference_transfe r_expression (ValaCodeContext* self, ValaExpression* inner, ValaSourceRefer ence* source_reference); | |||
ValaBinaryExpression* vala_code_context_create_binary_expression (ValaCodeC ontext* self, ValaBinaryOperator operator, ValaExpression* left, ValaExpres sion* right, ValaSourceReference* source_reference); | ValaBinaryExpression* vala_code_context_create_binary_expression (ValaCodeC ontext* self, ValaBinaryOperator operator, ValaExpression* left, ValaExpres sion* right, ValaSourceReference* source_reference); | |||
ValaTypeCheck* vala_code_context_create_type_check (ValaCodeContext* self, ValaExpression* expression, ValaTypeReference* type_reference, ValaSourceRe ference* source_reference); | ValaTypeCheck* vala_code_context_create_type_check (ValaCodeContext* self, ValaExpression* expression, ValaDataType* type_reference, ValaSourceReferen ce* source_reference); | |||
ValaConditionalExpression* vala_code_context_create_conditional_expression (ValaCodeContext* self, ValaExpression* condition, ValaExpression* true_exp ression, ValaExpression* false_expression, ValaSourceReference* source_refe rence); | ValaConditionalExpression* vala_code_context_create_conditional_expression (ValaCodeContext* self, ValaExpression* condition, ValaExpression* true_exp ression, ValaExpression* false_expression, ValaSourceReference* source_refe rence); | |||
ValaLambdaExpression* vala_code_context_create_lambda_expression (ValaCodeC ontext* self, ValaExpression* expression_body, ValaSourceReference* source_ reference); | ValaLambdaExpression* vala_code_context_create_lambda_expression (ValaCodeC ontext* self, ValaExpression* expression_body, ValaSourceReference* source_ reference); | |||
ValaLambdaExpression* vala_code_context_create_lambda_expression_with_state ment_body (ValaCodeContext* self, ValaBlock* statement_body, ValaSourceRefe rence* source_reference); | ValaLambdaExpression* vala_code_context_create_lambda_expression_with_state ment_body (ValaCodeContext* self, ValaBlock* statement_body, ValaSourceRefe rence* source_reference); | |||
ValaAssignment* vala_code_context_create_assignment (ValaCodeContext* self, ValaExpression* left, ValaExpression* right, ValaAssignmentOperator operat or, ValaSourceReference* source_reference); | ValaAssignment* vala_code_context_create_assignment (ValaCodeContext* self, ValaExpression* left, ValaExpression* right, ValaAssignmentOperator operat or, ValaSourceReference* source_reference); | |||
char* vala_code_context_get_library (ValaCodeContext* self); | char* vala_code_context_get_library (ValaCodeContext* self); | |||
void vala_code_context_set_library (ValaCodeContext* self, const char* valu e); | void vala_code_context_set_library (ValaCodeContext* self, const char* valu e); | |||
gboolean vala_code_context_get_memory_management (ValaCodeContext* self); | gboolean vala_code_context_get_memory_management (ValaCodeContext* self); | |||
void vala_code_context_set_memory_management (ValaCodeContext* self, gboole an value); | void vala_code_context_set_memory_management (ValaCodeContext* self, gboole an value); | |||
gboolean vala_code_context_get_assert (ValaCodeContext* self); | gboolean vala_code_context_get_assert (ValaCodeContext* self); | |||
void vala_code_context_set_assert (ValaCodeContext* self, gboolean value); | void vala_code_context_set_assert (ValaCodeContext* self, gboolean value); | |||
gboolean vala_code_context_get_checking (ValaCodeContext* self); | gboolean vala_code_context_get_checking (ValaCodeContext* self); | |||
void vala_code_context_set_checking (ValaCodeContext* self, gboolean value) ; | void vala_code_context_set_checking (ValaCodeContext* self, gboolean value) ; | |||
gboolean vala_code_context_get_non_null (ValaCodeContext* self); | ||||
void vala_code_context_set_non_null (ValaCodeContext* self, gboolean value) | ||||
; | ||||
gboolean vala_code_context_get_ccode_only (ValaCodeContext* self); | gboolean vala_code_context_get_ccode_only (ValaCodeContext* self); | |||
void vala_code_context_set_ccode_only (ValaCodeContext* self, gboolean valu e); | void vala_code_context_set_ccode_only (ValaCodeContext* self, gboolean valu e); | |||
gboolean vala_code_context_get_compile_only (ValaCodeContext* self); | gboolean vala_code_context_get_compile_only (ValaCodeContext* self); | |||
void vala_code_context_set_compile_only (ValaCodeContext* self, gboolean va lue); | void vala_code_context_set_compile_only (ValaCodeContext* self, gboolean va lue); | |||
char* vala_code_context_get_output (ValaCodeContext* self); | char* vala_code_context_get_output (ValaCodeContext* self); | |||
void vala_code_context_set_output (ValaCodeContext* self, const char* value ); | void vala_code_context_set_output (ValaCodeContext* self, const char* value ); | |||
char* vala_code_context_get_basedir (ValaCodeContext* self); | char* vala_code_context_get_basedir (ValaCodeContext* self); | |||
void vala_code_context_set_basedir (ValaCodeContext* self, const char* valu e); | void vala_code_context_set_basedir (ValaCodeContext* self, const char* valu e); | |||
char* vala_code_context_get_directory (ValaCodeContext* self); | char* vala_code_context_get_directory (ValaCodeContext* self); | |||
void vala_code_context_set_directory (ValaCodeContext* self, const char* va lue); | void vala_code_context_set_directory (ValaCodeContext* self, const char* va lue); | |||
End of changes. 18 change blocks. | ||||
30 lines changed or deleted | 39 lines changed or added | |||
valacodegenerator.h | valacodegenerator.h | |||
---|---|---|---|---|
/* valacodegenerator.vala | /* valacodegenerator.vala | |||
* | * | |||
* Copyright (C) 2007 Jürg Billeter | * Copyright (C) 2007-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 47 | skipping to change at line 47 | |||
#define VALA_IS_CODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_CODE_GENERATOR)) | #define VALA_IS_CODE_GENERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_CODE_GENERATOR)) | |||
#define VALA_IS_CODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_CODE_GENERATOR)) | #define VALA_IS_CODE_GENERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_CODE_GENERATOR)) | |||
#define VALA_CODE_GENERATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_CODE_GENERATOR, ValaCodeGeneratorClass)) | #define VALA_CODE_GENERATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_CODE_GENERATOR, ValaCodeGeneratorClass)) | |||
typedef struct _ValaCodeGeneratorPrivate ValaCodeGeneratorPrivate; | typedef struct _ValaCodeGeneratorPrivate ValaCodeGeneratorPrivate; | |||
/** | /** | |||
* Abstract code visitor generating code. | * Abstract code visitor generating code. | |||
*/ | */ | |||
struct _ValaCodeGenerator { | struct _ValaCodeGenerator { | |||
ValaCodeVisitor parent; | ValaCodeVisitor parent_instance; | |||
ValaCodeGeneratorPrivate * priv; | ValaCodeGeneratorPrivate * priv; | |||
}; | }; | |||
struct _ValaCodeGeneratorClass { | struct _ValaCodeGeneratorClass { | |||
ValaCodeVisitorClass parent; | ValaCodeVisitorClass parent_class; | |||
void (*emit) (ValaCodeGenerator* self, ValaCodeContext* context); | void (*emit) (ValaCodeGenerator* self, ValaCodeContext* context); | |||
ValaCodeBinding* (*create_namespace_binding) (ValaCodeGenerator* sel f, ValaNamespace* node); | ValaCodeBinding* (*create_namespace_binding) (ValaCodeGenerator* sel f, ValaNamespace* node); | |||
ValaCodeBinding* (*create_class_binding) (ValaCodeGenerator* self, V alaClass* node); | ValaCodeBinding* (*create_class_binding) (ValaCodeGenerator* self, V alaClass* node); | |||
ValaCodeBinding* (*create_struct_binding) (ValaCodeGenerator* self, ValaStruct* node); | ValaCodeBinding* (*create_struct_binding) (ValaCodeGenerator* self, ValaStruct* node); | |||
ValaCodeBinding* (*create_interface_binding) (ValaCodeGenerator* sel f, ValaInterface* node); | ValaCodeBinding* (*create_interface_binding) (ValaCodeGenerator* sel f, ValaInterface* node); | |||
ValaCodeBinding* (*create_enum_binding) (ValaCodeGenerator* self, Va laEnum* node); | ValaCodeBinding* (*create_enum_binding) (ValaCodeGenerator* self, Va laEnum* node); | |||
ValaCodeBinding* (*create_enum_value_binding) (ValaCodeGenerator* se lf, ValaEnumValue* node); | ValaCodeBinding* (*create_enum_value_binding) (ValaCodeGenerator* se lf, ValaEnumValue* node); | |||
ValaCodeBinding* (*create_callback_binding) (ValaCodeGenerator* self , ValaCallback* node); | ValaCodeBinding* (*create_delegate_binding) (ValaCodeGenerator* self , ValaDelegate* node); | |||
ValaCodeBinding* (*create_constant_binding) (ValaCodeGenerator* self , ValaConstant* node); | ValaCodeBinding* (*create_constant_binding) (ValaCodeGenerator* self , ValaConstant* node); | |||
ValaCodeBinding* (*create_field_binding) (ValaCodeGenerator* self, V alaField* node); | ValaCodeBinding* (*create_field_binding) (ValaCodeGenerator* self, V alaField* node); | |||
ValaCodeBinding* (*create_method_binding) (ValaCodeGenerator* self, ValaMethod* node); | ValaCodeBinding* (*create_method_binding) (ValaCodeGenerator* self, ValaMethod* node); | |||
ValaCodeBinding* (*create_creation_method_binding) (ValaCodeGenerato r* self, ValaCreationMethod* node); | ValaCodeBinding* (*create_creation_method_binding) (ValaCodeGenerato r* self, ValaCreationMethod* node); | |||
ValaCodeBinding* (*create_formal_parameter_binding) (ValaCodeGenerat or* self, ValaFormalParameter* node); | ValaCodeBinding* (*create_formal_parameter_binding) (ValaCodeGenerat or* self, ValaFormalParameter* node); | |||
ValaCodeBinding* (*create_property_binding) (ValaCodeGenerator* self , ValaProperty* node); | ValaCodeBinding* (*create_property_binding) (ValaCodeGenerator* self , ValaProperty* node); | |||
ValaCodeBinding* (*create_property_accessor_binding) (ValaCodeGenera tor* self, ValaPropertyAccessor* node); | ValaCodeBinding* (*create_property_accessor_binding) (ValaCodeGenera tor* self, ValaPropertyAccessor* node); | |||
ValaCodeBinding* (*create_signal_binding) (ValaCodeGenerator* self, ValaSignal* node); | ValaCodeBinding* (*create_signal_binding) (ValaCodeGenerator* self, ValaSignal* node); | |||
ValaCodeBinding* (*create_constructor_binding) (ValaCodeGenerator* s elf, ValaConstructor* node); | ValaCodeBinding* (*create_constructor_binding) (ValaCodeGenerator* s elf, ValaConstructor* node); | |||
ValaCodeBinding* (*create_destructor_binding) (ValaCodeGenerator* se lf, ValaDestructor* node); | ValaCodeBinding* (*create_destructor_binding) (ValaCodeGenerator* se lf, ValaDestructor* node); | |||
skipping to change at line 131 | skipping to change at line 131 | |||
ValaCodeBinding* (*create_assignment_binding) (ValaCodeGenerator* se lf, ValaAssignment* node); | ValaCodeBinding* (*create_assignment_binding) (ValaCodeGenerator* se lf, ValaAssignment* node); | |||
}; | }; | |||
void vala_code_generator_emit (ValaCodeGenerator* self, ValaCodeContext* co ntext); | void vala_code_generator_emit (ValaCodeGenerator* self, ValaCodeContext* co ntext); | |||
ValaCodeBinding* vala_code_generator_create_namespace_binding (ValaCodeGene rator* self, ValaNamespace* node); | ValaCodeBinding* vala_code_generator_create_namespace_binding (ValaCodeGene rator* self, ValaNamespace* node); | |||
ValaCodeBinding* vala_code_generator_create_class_binding (ValaCodeGenerato r* self, ValaClass* node); | ValaCodeBinding* vala_code_generator_create_class_binding (ValaCodeGenerato r* self, ValaClass* node); | |||
ValaCodeBinding* vala_code_generator_create_struct_binding (ValaCodeGenerat or* self, ValaStruct* node); | ValaCodeBinding* vala_code_generator_create_struct_binding (ValaCodeGenerat or* self, ValaStruct* node); | |||
ValaCodeBinding* vala_code_generator_create_interface_binding (ValaCodeGene rator* self, ValaInterface* node); | ValaCodeBinding* vala_code_generator_create_interface_binding (ValaCodeGene rator* self, ValaInterface* node); | |||
ValaCodeBinding* vala_code_generator_create_enum_binding (ValaCodeGenerator * self, ValaEnum* node); | ValaCodeBinding* vala_code_generator_create_enum_binding (ValaCodeGenerator * self, ValaEnum* node); | |||
ValaCodeBinding* vala_code_generator_create_enum_value_binding (ValaCodeGen erator* self, ValaEnumValue* node); | ValaCodeBinding* vala_code_generator_create_enum_value_binding (ValaCodeGen erator* self, ValaEnumValue* node); | |||
ValaCodeBinding* vala_code_generator_create_callback_binding (ValaCodeGener ator* self, ValaCallback* node); | ValaCodeBinding* vala_code_generator_create_delegate_binding (ValaCodeGener ator* self, ValaDelegate* node); | |||
ValaCodeBinding* vala_code_generator_create_constant_binding (ValaCodeGener ator* self, ValaConstant* node); | ValaCodeBinding* vala_code_generator_create_constant_binding (ValaCodeGener ator* self, ValaConstant* node); | |||
ValaCodeBinding* vala_code_generator_create_field_binding (ValaCodeGenerato r* self, ValaField* node); | ValaCodeBinding* vala_code_generator_create_field_binding (ValaCodeGenerato r* self, ValaField* node); | |||
ValaCodeBinding* vala_code_generator_create_method_binding (ValaCodeGenerat or* self, ValaMethod* node); | ValaCodeBinding* vala_code_generator_create_method_binding (ValaCodeGenerat or* self, ValaMethod* node); | |||
ValaCodeBinding* vala_code_generator_create_creation_method_binding (ValaCo deGenerator* self, ValaCreationMethod* node); | ValaCodeBinding* vala_code_generator_create_creation_method_binding (ValaCo deGenerator* self, ValaCreationMethod* node); | |||
ValaCodeBinding* vala_code_generator_create_formal_parameter_binding (ValaC odeGenerator* self, ValaFormalParameter* node); | ValaCodeBinding* vala_code_generator_create_formal_parameter_binding (ValaC odeGenerator* self, ValaFormalParameter* node); | |||
ValaCodeBinding* vala_code_generator_create_property_binding (ValaCodeGener ator* self, ValaProperty* node); | ValaCodeBinding* vala_code_generator_create_property_binding (ValaCodeGener ator* self, ValaProperty* node); | |||
ValaCodeBinding* vala_code_generator_create_property_accessor_binding (Vala CodeGenerator* self, ValaPropertyAccessor* node); | ValaCodeBinding* vala_code_generator_create_property_accessor_binding (Vala CodeGenerator* self, ValaPropertyAccessor* node); | |||
ValaCodeBinding* vala_code_generator_create_signal_binding (ValaCodeGenerat or* self, ValaSignal* node); | ValaCodeBinding* vala_code_generator_create_signal_binding (ValaCodeGenerat or* self, ValaSignal* node); | |||
ValaCodeBinding* vala_code_generator_create_constructor_binding (ValaCodeGe nerator* self, ValaConstructor* node); | ValaCodeBinding* vala_code_generator_create_constructor_binding (ValaCodeGe nerator* self, ValaConstructor* node); | |||
ValaCodeBinding* vala_code_generator_create_destructor_binding (ValaCodeGen erator* self, ValaDestructor* node); | ValaCodeBinding* vala_code_generator_create_destructor_binding (ValaCodeGen erator* self, ValaDestructor* node); | |||
End of changes. 5 change blocks. | ||||
5 lines changed or deleted | 5 lines changed or added | |||
valacodenode.h | valacodenode.h | |||
---|---|---|---|---|
/* valacodenode.vala | /* valacodenode.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 57 | skipping to change at line 57 | |||
typedef struct _ValaNamespace ValaNamespace; | typedef struct _ValaNamespace ValaNamespace; | |||
typedef struct _ValaNamespaceClass ValaNamespaceClass; | typedef struct _ValaNamespaceClass ValaNamespaceClass; | |||
typedef struct _ValaSymbol ValaSymbol; | typedef struct _ValaSymbol ValaSymbol; | |||
typedef struct _ValaSymbolClass ValaSymbolClass; | typedef struct _ValaSymbolClass ValaSymbolClass; | |||
typedef struct _ValaScope ValaScope; | typedef struct _ValaScope ValaScope; | |||
typedef struct _ValaScopeClass ValaScopeClass; | typedef struct _ValaScopeClass ValaScopeClass; | |||
typedef struct _ValaSourceReference ValaSourceReference; | typedef struct _ValaSourceReference ValaSourceReference; | |||
typedef struct _ValaSourceReferenceClass ValaSourceReferenceClass; | typedef struct _ValaSourceReferenceClass ValaSourceReferenceClass; | |||
typedef struct _ValaClass ValaClass; | typedef struct _ValaClass ValaClass; | |||
typedef struct _ValaClassClass ValaClassClass; | typedef struct _ValaClassClass ValaClassClass; | |||
typedef struct _ValaDataType ValaDataType; | typedef struct _ValaTypesymbol ValaTypesymbol; | |||
typedef struct _ValaDataTypeClass ValaDataTypeClass; | typedef struct _ValaTypesymbolClass ValaTypesymbolClass; | |||
typedef struct _ValaPointer ValaPointer; | ||||
typedef struct _ValaPointerClass ValaPointerClass; | ||||
typedef struct _ValaArray ValaArray; | typedef struct _ValaArray ValaArray; | |||
typedef struct _ValaArrayClass ValaArrayClass; | typedef struct _ValaArrayClass ValaArrayClass; | |||
typedef struct _ValaTypeParameter ValaTypeParameter; | typedef struct _ValaTypeParameter ValaTypeParameter; | |||
typedef struct _ValaTypeParameterClass ValaTypeParameterClass; | typedef struct _ValaTypeParameterClass ValaTypeParameterClass; | |||
typedef struct _ValaArrayLengthField ValaArrayLengthField; | typedef struct _ValaArrayLengthField ValaArrayLengthField; | |||
typedef struct _ValaArrayLengthFieldClass ValaArrayLengthFieldClass; | typedef struct _ValaArrayLengthFieldClass ValaArrayLengthFieldClass; | |||
typedef struct _ValaField ValaField; | typedef struct _ValaField ValaField; | |||
typedef struct _ValaFieldClass ValaFieldClass; | typedef struct _ValaFieldClass ValaFieldClass; | |||
typedef struct _ValaMember ValaMember; | typedef struct _ValaMember ValaMember; | |||
typedef struct _ValaMemberClass ValaMemberClass; | typedef struct _ValaMemberClass ValaMemberClass; | |||
typedef struct _ValaInvokable ValaInvokable; | typedef struct _ValaDataType ValaDataType; | |||
typedef struct _ValaInvokableIface ValaInvokableIface; | typedef struct _ValaDataTypeClass ValaDataTypeClass; | |||
typedef struct _ValaTypeReference ValaTypeReference; | ||||
typedef struct _ValaTypeReferenceClass ValaTypeReferenceClass; | ||||
typedef struct _ValaArrayResizeMethod ValaArrayResizeMethod; | typedef struct _ValaArrayResizeMethod ValaArrayResizeMethod; | |||
typedef struct _ValaArrayResizeMethodClass ValaArrayResizeMethodClass; | typedef struct _ValaArrayResizeMethodClass ValaArrayResizeMethodClass; | |||
typedef struct _ValaMethod ValaMethod; | typedef struct _ValaMethod ValaMethod; | |||
typedef struct _ValaMethodClass ValaMethodClass; | typedef struct _ValaMethodClass ValaMethodClass; | |||
typedef struct _ValaFormalParameter ValaFormalParameter; | typedef struct _ValaFormalParameter ValaFormalParameter; | |||
typedef struct _ValaFormalParameterClass ValaFormalParameterClass; | typedef struct _ValaFormalParameterClass ValaFormalParameterClass; | |||
typedef struct _ValaBlock ValaBlock; | typedef struct _ValaBlock ValaBlock; | |||
typedef struct _ValaBlockClass ValaBlockClass; | typedef struct _ValaBlockClass ValaBlockClass; | |||
typedef struct _ValaStatement ValaStatement; | typedef struct _ValaStatement ValaStatement; | |||
typedef struct _ValaStatementIface ValaStatementIface; | typedef struct _ValaStatementIface ValaStatementIface; | |||
typedef struct _ValaVariableDeclarator ValaVariableDeclarator; | typedef struct _ValaVariableDeclarator ValaVariableDeclarator; | |||
typedef struct _ValaVariableDeclaratorClass ValaVariableDeclaratorClass; | typedef struct _ValaVariableDeclaratorClass ValaVariableDeclaratorClass; | |||
typedef struct _ValaConstant ValaConstant; | typedef struct _ValaConstant ValaConstant; | |||
typedef struct _ValaConstantClass ValaConstantClass; | typedef struct _ValaConstantClass ValaConstantClass; | |||
typedef struct _ValaProperty ValaProperty; | typedef struct _ValaProperty ValaProperty; | |||
typedef struct _ValaPropertyClass ValaPropertyClass; | typedef struct _ValaPropertyClass ValaPropertyClass; | |||
typedef struct _ValaPropertyAccessor ValaPropertyAccessor; | typedef struct _ValaPropertyAccessor ValaPropertyAccessor; | |||
typedef struct _ValaPropertyAccessorClass ValaPropertyAccessorClass; | typedef struct _ValaPropertyAccessorClass ValaPropertyAccessorClass; | |||
typedef struct _ValaSignal ValaSignal; | typedef struct _ValaSignal ValaSignal; | |||
typedef struct _ValaSignalClass ValaSignalClass; | typedef struct _ValaSignalClass ValaSignalClass; | |||
typedef struct _ValaCallback ValaCallback; | typedef struct _ValaDelegate ValaDelegate; | |||
typedef struct _ValaCallbackClass ValaCallbackClass; | typedef struct _ValaDelegateClass ValaDelegateClass; | |||
typedef struct _ValaStruct ValaStruct; | typedef struct _ValaStruct ValaStruct; | |||
typedef struct _ValaStructClass ValaStructClass; | typedef struct _ValaStructClass ValaStructClass; | |||
typedef struct _ValaConstructor ValaConstructor; | typedef struct _ValaConstructor ValaConstructor; | |||
typedef struct _ValaConstructorClass ValaConstructorClass; | typedef struct _ValaConstructorClass ValaConstructorClass; | |||
typedef struct _ValaDestructor ValaDestructor; | typedef struct _ValaDestructor ValaDestructor; | |||
typedef struct _ValaDestructorClass ValaDestructorClass; | typedef struct _ValaDestructorClass ValaDestructorClass; | |||
typedef struct _ValaInterface ValaInterface; | typedef struct _ValaInterface ValaInterface; | |||
typedef struct _ValaInterfaceClass ValaInterfaceClass; | typedef struct _ValaInterfaceClass ValaInterfaceClass; | |||
typedef struct _ValaEnum ValaEnum; | typedef struct _ValaEnum ValaEnum; | |||
typedef struct _ValaEnumClass ValaEnumClass; | typedef struct _ValaEnumClass ValaEnumClass; | |||
skipping to change at line 234 | skipping to change at line 230 | |||
typedef struct _ValaCodeNodePrivate ValaCodeNodePrivate; | typedef struct _ValaCodeNodePrivate ValaCodeNodePrivate; | |||
/** | /** | |||
* Represents a part of the parsed source code. | * Represents a part of the parsed source code. | |||
* | * | |||
* Code nodes get created by the parser and are used throughout the whole | * Code nodes get created by the parser and are used throughout the whole | |||
* compilation process. | * compilation process. | |||
*/ | */ | |||
struct _ValaCodeNode { | struct _ValaCodeNode { | |||
GObject parent; | GObject parent_instance; | |||
ValaCodeNodePrivate * priv; | ValaCodeNodePrivate * priv; | |||
GList* attributes; | GList* attributes; | |||
}; | }; | |||
struct _ValaCodeNodeClass { | struct _ValaCodeNodeClass { | |||
GObjectClass parent; | GObjectClass parent_class; | |||
void (*accept) (ValaCodeNode* self, ValaCodeVisitor* visitor); | void (*accept) (ValaCodeNode* self, ValaCodeVisitor* visitor); | |||
void (*accept_children) (ValaCodeNode* self, ValaCodeVisitor* visito r); | void (*accept_children) (ValaCodeNode* self, ValaCodeVisitor* visito r); | |||
void (*replace) (ValaCodeNode* self, ValaCodeNode* old_node, ValaCod | void (*replace_type) (ValaCodeNode* self, ValaDataType* old_type, Va | |||
eNode* new_node); | laDataType* new_type); | |||
void (*replace_expression) (ValaCodeNode* self, ValaExpression* old_ | ||||
node, ValaExpression* new_node); | ||||
char* (*to_string) (ValaCodeNode* self); | char* (*to_string) (ValaCodeNode* self); | |||
}; | }; | |||
void vala_code_node_accept (ValaCodeNode* self, ValaCodeVisitor* visitor); | void vala_code_node_accept (ValaCodeNode* self, ValaCodeVisitor* visitor); | |||
void vala_code_node_accept_children (ValaCodeNode* self, ValaCodeVisitor* v isitor); | void vala_code_node_accept_children (ValaCodeNode* self, ValaCodeVisitor* v isitor); | |||
void vala_code_node_replace (ValaCodeNode* self, ValaCodeNode* old_node, Va | void vala_code_node_replace_type (ValaCodeNode* self, ValaDataType* old_typ | |||
laCodeNode* new_node); | e, ValaDataType* new_type); | |||
void vala_code_node_replace_expression (ValaCodeNode* self, ValaExpression* | ||||
old_node, ValaExpression* new_node); | ||||
ValaAttribute* vala_code_node_get_attribute (ValaCodeNode* self, const char * name); | ValaAttribute* vala_code_node_get_attribute (ValaCodeNode* self, const char * name); | |||
char* vala_code_node_to_string (ValaCodeNode* self); | char* vala_code_node_to_string (ValaCodeNode* self); | |||
ValaCodeNode* vala_code_node_get_parent_node (ValaCodeNode* self); | ValaCodeNode* vala_code_node_get_parent_node (ValaCodeNode* self); | |||
void vala_code_node_set_parent_node (ValaCodeNode* self, ValaCodeNode* valu e); | void vala_code_node_set_parent_node (ValaCodeNode* self, ValaCodeNode* valu e); | |||
ValaSourceReference* vala_code_node_get_source_reference (ValaCodeNode* sel f); | ValaSourceReference* vala_code_node_get_source_reference (ValaCodeNode* sel f); | |||
void vala_code_node_set_source_reference (ValaCodeNode* self, ValaSourceRef erence* value); | void vala_code_node_set_source_reference (ValaCodeNode* self, ValaSourceRef erence* value); | |||
ValaCCodeNode* vala_code_node_get_ccodenode (ValaCodeNode* self); | ValaCCodeNode* vala_code_node_get_ccodenode (ValaCodeNode* self); | |||
void vala_code_node_set_ccodenode (ValaCodeNode* self, ValaCCodeNode* value ); | void vala_code_node_set_ccodenode (ValaCodeNode* self, ValaCCodeNode* value ); | |||
ValaCodeBinding* vala_code_node_get_code_binding (ValaCodeNode* self); | ValaCodeBinding* vala_code_node_get_code_binding (ValaCodeNode* self); | |||
void vala_code_node_set_code_binding (ValaCodeNode* self, ValaCodeBinding* value); | void vala_code_node_set_code_binding (ValaCodeNode* self, ValaCodeBinding* value); | |||
End of changes. 8 change blocks. | ||||
17 lines changed or deleted | 17 lines changed or added | |||
valacodevisitor.h | valacodevisitor.h | |||
---|---|---|---|---|
/* valacodevisitor.vala | /* valacodevisitor.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter, Raffaele Sandrini | * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_CODE_VISITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_CODE_VISITOR)) | #define VALA_IS_CODE_VISITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_CODE_VISITOR)) | |||
#define VALA_IS_CODE_VISITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_CODE_VISITOR)) | #define VALA_IS_CODE_VISITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_CODE_VISITOR)) | |||
#define VALA_CODE_VISITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CODE_VISITOR, ValaCodeVisitorClass)) | #define VALA_CODE_VISITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CODE_VISITOR, ValaCodeVisitorClass)) | |||
typedef struct _ValaCodeVisitorPrivate ValaCodeVisitorPrivate; | typedef struct _ValaCodeVisitorPrivate ValaCodeVisitorPrivate; | |||
/** | /** | |||
* Abstract code node visitor for traversing source code tree. | * Abstract code node visitor for traversing source code tree. | |||
*/ | */ | |||
struct _ValaCodeVisitor { | struct _ValaCodeVisitor { | |||
GObject parent; | GObject parent_instance; | |||
ValaCodeVisitorPrivate * priv; | ValaCodeVisitorPrivate * priv; | |||
}; | }; | |||
struct _ValaCodeVisitorClass { | struct _ValaCodeVisitorClass { | |||
GObjectClass parent; | GObjectClass parent_class; | |||
void (*visit_source_file) (ValaCodeVisitor* self, ValaSourceFile* so urce_file); | void (*visit_source_file) (ValaCodeVisitor* self, ValaSourceFile* so urce_file); | |||
void (*visit_namespace) (ValaCodeVisitor* self, ValaNamespace* ns); | void (*visit_namespace) (ValaCodeVisitor* self, ValaNamespace* ns); | |||
void (*visit_class) (ValaCodeVisitor* self, ValaClass* cl); | void (*visit_class) (ValaCodeVisitor* self, ValaClass* cl); | |||
void (*visit_struct) (ValaCodeVisitor* self, ValaStruct* st); | void (*visit_struct) (ValaCodeVisitor* self, ValaStruct* st); | |||
void (*visit_interface) (ValaCodeVisitor* self, ValaInterface* iface ); | void (*visit_interface) (ValaCodeVisitor* self, ValaInterface* iface ); | |||
void (*visit_enum) (ValaCodeVisitor* self, ValaEnum* en); | void (*visit_enum) (ValaCodeVisitor* self, ValaEnum* en); | |||
void (*visit_enum_value) (ValaCodeVisitor* self, ValaEnumValue* ev); | void (*visit_enum_value) (ValaCodeVisitor* self, ValaEnumValue* ev); | |||
void (*visit_callback) (ValaCodeVisitor* self, ValaCallback* cb); | void (*visit_delegate) (ValaCodeVisitor* self, ValaDelegate* d); | |||
void (*visit_member) (ValaCodeVisitor* self, ValaMember* m); | void (*visit_member) (ValaCodeVisitor* self, ValaMember* m); | |||
void (*visit_constant) (ValaCodeVisitor* self, ValaConstant* c); | void (*visit_constant) (ValaCodeVisitor* self, ValaConstant* c); | |||
void (*visit_field) (ValaCodeVisitor* self, ValaField* f); | void (*visit_field) (ValaCodeVisitor* self, ValaField* f); | |||
void (*visit_method) (ValaCodeVisitor* self, ValaMethod* m); | void (*visit_method) (ValaCodeVisitor* self, ValaMethod* m); | |||
void (*visit_creation_method) (ValaCodeVisitor* self, ValaCreationMe thod* m); | void (*visit_creation_method) (ValaCodeVisitor* self, ValaCreationMe thod* m); | |||
void (*visit_formal_parameter) (ValaCodeVisitor* self, ValaFormalPar ameter* p); | void (*visit_formal_parameter) (ValaCodeVisitor* self, ValaFormalPar ameter* p); | |||
void (*visit_property) (ValaCodeVisitor* self, ValaProperty* prop); | void (*visit_property) (ValaCodeVisitor* self, ValaProperty* prop); | |||
void (*visit_property_accessor) (ValaCodeVisitor* self, ValaProperty Accessor* acc); | void (*visit_property_accessor) (ValaCodeVisitor* self, ValaProperty Accessor* acc); | |||
void (*visit_signal) (ValaCodeVisitor* self, ValaSignal* sig); | void (*visit_signal) (ValaCodeVisitor* self, ValaSignal* sig); | |||
void (*visit_constructor) (ValaCodeVisitor* self, ValaConstructor* c ); | void (*visit_constructor) (ValaCodeVisitor* self, ValaConstructor* c ); | |||
void (*visit_destructor) (ValaCodeVisitor* self, ValaDestructor* d); | void (*visit_destructor) (ValaCodeVisitor* self, ValaDestructor* d); | |||
void (*visit_named_argument) (ValaCodeVisitor* self, ValaNamedArgume nt* n); | void (*visit_named_argument) (ValaCodeVisitor* self, ValaNamedArgume nt* n); | |||
void (*visit_type_parameter) (ValaCodeVisitor* self, ValaTypeParamet er* p); | void (*visit_type_parameter) (ValaCodeVisitor* self, ValaTypeParamet er* p); | |||
void (*visit_namespace_reference) (ValaCodeVisitor* self, ValaNamesp aceReference* ns); | void (*visit_namespace_reference) (ValaCodeVisitor* self, ValaNamesp aceReference* ns); | |||
void (*visit_type_reference) (ValaCodeVisitor* self, ValaTypeReferen ce* type); | void (*visit_data_type) (ValaCodeVisitor* self, ValaDataType* type); | |||
void (*visit_block) (ValaCodeVisitor* self, ValaBlock* b); | void (*visit_block) (ValaCodeVisitor* self, ValaBlock* b); | |||
void (*visit_empty_statement) (ValaCodeVisitor* self, ValaEmptyState ment* stmt); | void (*visit_empty_statement) (ValaCodeVisitor* self, ValaEmptyState ment* stmt); | |||
void (*visit_declaration_statement) (ValaCodeVisitor* self, ValaDecl arationStatement* stmt); | void (*visit_declaration_statement) (ValaCodeVisitor* self, ValaDecl arationStatement* stmt); | |||
void (*visit_local_variable_declaration) (ValaCodeVisitor* self, Val aLocalVariableDeclaration* decl); | void (*visit_local_variable_declaration) (ValaCodeVisitor* self, Val aLocalVariableDeclaration* decl); | |||
void (*visit_variable_declarator) (ValaCodeVisitor* self, ValaVariab leDeclarator* decl); | void (*visit_variable_declarator) (ValaCodeVisitor* self, ValaVariab leDeclarator* decl); | |||
void (*visit_initializer_list) (ValaCodeVisitor* self, ValaInitializ erList* list); | void (*visit_initializer_list) (ValaCodeVisitor* self, ValaInitializ erList* list); | |||
void (*visit_expression_statement) (ValaCodeVisitor* self, ValaExpre ssionStatement* stmt); | void (*visit_expression_statement) (ValaCodeVisitor* self, ValaExpre ssionStatement* stmt); | |||
void (*visit_if_statement) (ValaCodeVisitor* self, ValaIfStatement* stmt); | void (*visit_if_statement) (ValaCodeVisitor* self, ValaIfStatement* stmt); | |||
void (*visit_switch_statement) (ValaCodeVisitor* self, ValaSwitchSta tement* stmt); | void (*visit_switch_statement) (ValaCodeVisitor* self, ValaSwitchSta tement* stmt); | |||
void (*visit_switch_section) (ValaCodeVisitor* self, ValaSwitchSecti on* section); | void (*visit_switch_section) (ValaCodeVisitor* self, ValaSwitchSecti on* section); | |||
skipping to change at line 133 | skipping to change at line 133 | |||
void (*visit_end_full_expression) (ValaCodeVisitor* self, ValaExpres sion* expr); | void (*visit_end_full_expression) (ValaCodeVisitor* self, ValaExpres sion* expr); | |||
}; | }; | |||
void vala_code_visitor_visit_source_file (ValaCodeVisitor* self, ValaSource File* source_file); | void vala_code_visitor_visit_source_file (ValaCodeVisitor* self, ValaSource File* source_file); | |||
void vala_code_visitor_visit_namespace (ValaCodeVisitor* self, ValaNamespac e* ns); | void vala_code_visitor_visit_namespace (ValaCodeVisitor* self, ValaNamespac e* ns); | |||
void vala_code_visitor_visit_class (ValaCodeVisitor* self, ValaClass* cl); | void vala_code_visitor_visit_class (ValaCodeVisitor* self, ValaClass* cl); | |||
void vala_code_visitor_visit_struct (ValaCodeVisitor* self, ValaStruct* st) ; | void vala_code_visitor_visit_struct (ValaCodeVisitor* self, ValaStruct* st) ; | |||
void vala_code_visitor_visit_interface (ValaCodeVisitor* self, ValaInterfac e* iface); | void vala_code_visitor_visit_interface (ValaCodeVisitor* self, ValaInterfac e* iface); | |||
void vala_code_visitor_visit_enum (ValaCodeVisitor* self, ValaEnum* en); | void vala_code_visitor_visit_enum (ValaCodeVisitor* self, ValaEnum* en); | |||
void vala_code_visitor_visit_enum_value (ValaCodeVisitor* self, ValaEnumVal ue* ev); | void vala_code_visitor_visit_enum_value (ValaCodeVisitor* self, ValaEnumVal ue* ev); | |||
void vala_code_visitor_visit_callback (ValaCodeVisitor* self, ValaCallback* cb); | void vala_code_visitor_visit_delegate (ValaCodeVisitor* self, ValaDelegate* d); | |||
void vala_code_visitor_visit_member (ValaCodeVisitor* self, ValaMember* m); | void vala_code_visitor_visit_member (ValaCodeVisitor* self, ValaMember* m); | |||
void vala_code_visitor_visit_constant (ValaCodeVisitor* self, ValaConstant* c); | void vala_code_visitor_visit_constant (ValaCodeVisitor* self, ValaConstant* c); | |||
void vala_code_visitor_visit_field (ValaCodeVisitor* self, ValaField* f); | void vala_code_visitor_visit_field (ValaCodeVisitor* self, ValaField* f); | |||
void vala_code_visitor_visit_method (ValaCodeVisitor* self, ValaMethod* m); | void vala_code_visitor_visit_method (ValaCodeVisitor* self, ValaMethod* m); | |||
void vala_code_visitor_visit_creation_method (ValaCodeVisitor* self, ValaCr eationMethod* m); | void vala_code_visitor_visit_creation_method (ValaCodeVisitor* self, ValaCr eationMethod* m); | |||
void vala_code_visitor_visit_formal_parameter (ValaCodeVisitor* self, ValaF ormalParameter* p); | void vala_code_visitor_visit_formal_parameter (ValaCodeVisitor* self, ValaF ormalParameter* p); | |||
void vala_code_visitor_visit_property (ValaCodeVisitor* self, ValaProperty* prop); | void vala_code_visitor_visit_property (ValaCodeVisitor* self, ValaProperty* prop); | |||
void vala_code_visitor_visit_property_accessor (ValaCodeVisitor* self, Vala PropertyAccessor* acc); | void vala_code_visitor_visit_property_accessor (ValaCodeVisitor* self, Vala PropertyAccessor* acc); | |||
void vala_code_visitor_visit_signal (ValaCodeVisitor* self, ValaSignal* sig ); | void vala_code_visitor_visit_signal (ValaCodeVisitor* self, ValaSignal* sig ); | |||
void vala_code_visitor_visit_constructor (ValaCodeVisitor* self, ValaConstr uctor* c); | void vala_code_visitor_visit_constructor (ValaCodeVisitor* self, ValaConstr uctor* c); | |||
void vala_code_visitor_visit_destructor (ValaCodeVisitor* self, ValaDestruc tor* d); | void vala_code_visitor_visit_destructor (ValaCodeVisitor* self, ValaDestruc tor* d); | |||
void vala_code_visitor_visit_named_argument (ValaCodeVisitor* self, ValaNam edArgument* n); | void vala_code_visitor_visit_named_argument (ValaCodeVisitor* self, ValaNam edArgument* n); | |||
void vala_code_visitor_visit_type_parameter (ValaCodeVisitor* self, ValaTyp eParameter* p); | void vala_code_visitor_visit_type_parameter (ValaCodeVisitor* self, ValaTyp eParameter* p); | |||
void vala_code_visitor_visit_namespace_reference (ValaCodeVisitor* self, Va laNamespaceReference* ns); | void vala_code_visitor_visit_namespace_reference (ValaCodeVisitor* self, Va laNamespaceReference* ns); | |||
void vala_code_visitor_visit_type_reference (ValaCodeVisitor* self, ValaTyp eReference* type); | void vala_code_visitor_visit_data_type (ValaCodeVisitor* self, ValaDataType * type); | |||
void vala_code_visitor_visit_block (ValaCodeVisitor* self, ValaBlock* b); | void vala_code_visitor_visit_block (ValaCodeVisitor* self, ValaBlock* b); | |||
void vala_code_visitor_visit_empty_statement (ValaCodeVisitor* self, ValaEm ptyStatement* stmt); | void vala_code_visitor_visit_empty_statement (ValaCodeVisitor* self, ValaEm ptyStatement* stmt); | |||
void vala_code_visitor_visit_declaration_statement (ValaCodeVisitor* self, ValaDeclarationStatement* stmt); | void vala_code_visitor_visit_declaration_statement (ValaCodeVisitor* self, ValaDeclarationStatement* stmt); | |||
void vala_code_visitor_visit_local_variable_declaration (ValaCodeVisitor* s elf, ValaLocalVariableDeclaration* decl); | void vala_code_visitor_visit_local_variable_declaration (ValaCodeVisitor* s elf, ValaLocalVariableDeclaration* decl); | |||
void vala_code_visitor_visit_variable_declarator (ValaCodeVisitor* self, Va laVariableDeclarator* decl); | void vala_code_visitor_visit_variable_declarator (ValaCodeVisitor* self, Va laVariableDeclarator* decl); | |||
void vala_code_visitor_visit_initializer_list (ValaCodeVisitor* self, ValaI nitializerList* list); | void vala_code_visitor_visit_initializer_list (ValaCodeVisitor* self, ValaI nitializerList* list); | |||
void vala_code_visitor_visit_expression_statement (ValaCodeVisitor* self, V alaExpressionStatement* stmt); | void vala_code_visitor_visit_expression_statement (ValaCodeVisitor* self, V alaExpressionStatement* stmt); | |||
void vala_code_visitor_visit_if_statement (ValaCodeVisitor* self, ValaIfSta tement* stmt); | void vala_code_visitor_visit_if_statement (ValaCodeVisitor* self, ValaIfSta tement* stmt); | |||
void vala_code_visitor_visit_switch_statement (ValaCodeVisitor* self, ValaS witchStatement* stmt); | void vala_code_visitor_visit_switch_statement (ValaCodeVisitor* self, ValaS witchStatement* stmt); | |||
void vala_code_visitor_visit_switch_section (ValaCodeVisitor* self, ValaSwi tchSection* section); | void vala_code_visitor_visit_switch_section (ValaCodeVisitor* self, ValaSwi tchSection* section); | |||
End of changes. 7 change blocks. | ||||
7 lines changed or deleted | 7 lines changed or added | |||
valaconditionalexpression.h | valaconditionalexpression.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_CONDITIONAL_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o bj), VALA_TYPE_CONDITIONAL_EXPRESSION)) | #define VALA_IS_CONDITIONAL_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o bj), VALA_TYPE_CONDITIONAL_EXPRESSION)) | |||
#define VALA_IS_CONDITIONAL_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYP E ((klass), VALA_TYPE_CONDITIONAL_EXPRESSION)) | #define VALA_IS_CONDITIONAL_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYP E ((klass), VALA_TYPE_CONDITIONAL_EXPRESSION)) | |||
#define VALA_CONDITIONAL_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CONDITIONAL_EXPRESSION, ValaConditionalExpressionClass )) | #define VALA_CONDITIONAL_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA SS ((obj), VALA_TYPE_CONDITIONAL_EXPRESSION, ValaConditionalExpressionClass )) | |||
typedef struct _ValaConditionalExpressionPrivate ValaConditionalExpressionP rivate; | typedef struct _ValaConditionalExpressionPrivate ValaConditionalExpressionP rivate; | |||
/** | /** | |||
* Represents a conditional expression in the source code. | * Represents a conditional expression in the source code. | |||
*/ | */ | |||
struct _ValaConditionalExpression { | struct _ValaConditionalExpression { | |||
ValaExpression parent; | ValaExpression parent_instance; | |||
ValaConditionalExpressionPrivate * priv; | ValaConditionalExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaConditionalExpressionClass { | struct _ValaConditionalExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent_class; | |||
}; | }; | |||
ValaConditionalExpression* vala_conditional_expression_new (ValaExpression* cond, ValaExpression* true_expr, ValaExpression* false_expr, ValaSourceRef erence* source); | ValaConditionalExpression* vala_conditional_expression_new (ValaExpression* cond, ValaExpression* true_expr, ValaExpression* false_expr, ValaSourceRef erence* source); | |||
ValaExpression* vala_conditional_expression_get_condition (ValaConditionalE xpression* self); | ValaExpression* vala_conditional_expression_get_condition (ValaConditionalE xpression* self); | |||
void vala_conditional_expression_set_condition (ValaConditionalExpression* self, ValaExpression* value); | void vala_conditional_expression_set_condition (ValaConditionalExpression* self, ValaExpression* value); | |||
ValaExpression* vala_conditional_expression_get_true_expression (ValaCondit ionalExpression* self); | ValaExpression* vala_conditional_expression_get_true_expression (ValaCondit ionalExpression* self); | |||
void vala_conditional_expression_set_true_expression (ValaConditionalExpres sion* self, ValaExpression* value); | void vala_conditional_expression_set_true_expression (ValaConditionalExpres sion* self, ValaExpression* value); | |||
ValaExpression* vala_conditional_expression_get_false_expression (ValaCondi tionalExpression* self); | ValaExpression* vala_conditional_expression_get_false_expression (ValaCondi tionalExpression* self); | |||
void vala_conditional_expression_set_false_expression (ValaConditionalExpre ssion* self, ValaExpression* value); | void vala_conditional_expression_set_false_expression (ValaConditionalExpre ssion* self, ValaExpression* value); | |||
GType vala_conditional_expression_get_type (void); | GType vala_conditional_expression_get_type (void); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaconstant.h | valaconstant.h | |||
---|---|---|---|---|
skipping to change at line 49 | skipping to change at line 49 | |||
#define VALA_IS_CONSTANT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE _CONSTANT)) | #define VALA_IS_CONSTANT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE _CONSTANT)) | |||
#define VALA_IS_CONSTANT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VA LA_TYPE_CONSTANT)) | #define VALA_IS_CONSTANT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VA LA_TYPE_CONSTANT)) | |||
#define VALA_CONSTANT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VAL A_TYPE_CONSTANT, ValaConstantClass)) | #define VALA_CONSTANT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VAL A_TYPE_CONSTANT, ValaConstantClass)) | |||
typedef struct _ValaConstantPrivate ValaConstantPrivate; | typedef struct _ValaConstantPrivate ValaConstantPrivate; | |||
/** | /** | |||
* Represents a type member with a constant value. | * Represents a type member with a constant value. | |||
*/ | */ | |||
struct _ValaConstant { | struct _ValaConstant { | |||
ValaMember parent; | ValaMember parent_instance; | |||
ValaConstantPrivate * priv; | ValaConstantPrivate * priv; | |||
}; | }; | |||
struct _ValaConstantClass { | struct _ValaConstantClass { | |||
ValaMemberClass parent; | ValaMemberClass parent_class; | |||
}; | }; | |||
ValaConstant* vala_constant_new (const char* name, ValaTypeReference* type_ reference, ValaExpression* initializer, ValaSourceReference* source_referen ce); | ValaConstant* vala_constant_new (const char* name, ValaDataType* type_refer ence, ValaExpression* initializer, ValaSourceReference* source_reference); | |||
char* vala_constant_get_cname (ValaConstant* self); | char* vala_constant_get_cname (ValaConstant* self); | |||
ValaTypeReference* vala_constant_get_type_reference (ValaConstant* self); | void vala_constant_process_attributes (ValaConstant* self); | |||
void vala_constant_set_type_reference (ValaConstant* self, ValaTypeReferenc | ValaDataType* vala_constant_get_type_reference (ValaConstant* self); | |||
e* value); | void vala_constant_set_type_reference (ValaConstant* self, ValaDataType* va | |||
lue); | ||||
ValaExpression* vala_constant_get_initializer (ValaConstant* self); | ValaExpression* vala_constant_get_initializer (ValaConstant* self); | |||
void vala_constant_set_initializer (ValaConstant* self, ValaExpression* val ue); | void vala_constant_set_initializer (ValaConstant* self, ValaExpression* val ue); | |||
GType vala_constant_get_type (void); | GType vala_constant_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 4 change blocks. | ||||
6 lines changed or deleted | 7 lines changed or added | |||
valaconstructor.h | valaconstructor.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_CONSTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T YPE_CONSTRUCTOR)) | #define VALA_IS_CONSTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T YPE_CONSTRUCTOR)) | |||
#define VALA_IS_CONSTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CONSTRUCTOR)) | #define VALA_IS_CONSTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_CONSTRUCTOR)) | |||
#define VALA_CONSTRUCTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CONSTRUCTOR, ValaConstructorClass)) | #define VALA_CONSTRUCTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_CONSTRUCTOR, ValaConstructorClass)) | |||
typedef struct _ValaConstructorPrivate ValaConstructorPrivate; | typedef struct _ValaConstructorPrivate ValaConstructorPrivate; | |||
/** | /** | |||
* Represents a class or instance constructor. | * Represents a class or instance constructor. | |||
*/ | */ | |||
struct _ValaConstructor { | struct _ValaConstructor { | |||
ValaSymbol parent; | ValaSymbol parent_instance; | |||
ValaConstructorPrivate * priv; | ValaConstructorPrivate * priv; | |||
}; | }; | |||
struct _ValaConstructorClass { | struct _ValaConstructorClass { | |||
ValaSymbolClass parent; | ValaSymbolClass parent_class; | |||
}; | }; | |||
ValaConstructor* vala_constructor_new (ValaSourceReference* source); | ValaConstructor* vala_constructor_new (ValaSourceReference* source); | |||
ValaBlock* vala_constructor_get_body (ValaConstructor* self); | ValaBlock* vala_constructor_get_body (ValaConstructor* self); | |||
void vala_constructor_set_body (ValaConstructor* self, ValaBlock* value); | void vala_constructor_set_body (ValaConstructor* self, ValaBlock* value); | |||
ValaFormalParameter* vala_constructor_get_this_parameter (ValaConstructor* self); | ValaFormalParameter* vala_constructor_get_this_parameter (ValaConstructor* self); | |||
void vala_constructor_set_this_parameter (ValaConstructor* self, ValaFormal Parameter* value); | void vala_constructor_set_this_parameter (ValaConstructor* self, ValaFormal Parameter* value); | |||
gboolean vala_constructor_get_instance (ValaConstructor* self); | gboolean vala_constructor_get_instance (ValaConstructor* self); | |||
void vala_constructor_set_instance (ValaConstructor* self, gboolean value); | void vala_constructor_set_instance (ValaConstructor* self, gboolean value); | |||
GType vala_constructor_get_type (void); | GType vala_constructor_get_type (void); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valacontinuestatement.h | valacontinuestatement.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_CONTINUE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CONTINUE_STATEMENT)) | #define VALA_IS_CONTINUE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_CONTINUE_STATEMENT)) | |||
#define VALA_IS_CONTINUE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( klass), VALA_TYPE_CONTINUE_STATEMENT)) | #define VALA_IS_CONTINUE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( klass), VALA_TYPE_CONTINUE_STATEMENT)) | |||
#define VALA_CONTINUE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_CONTINUE_STATEMENT, ValaContinueStatementClass)) | #define VALA_CONTINUE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_CONTINUE_STATEMENT, ValaContinueStatementClass)) | |||
typedef struct _ValaContinueStatementPrivate ValaContinueStatementPrivate; | typedef struct _ValaContinueStatementPrivate ValaContinueStatementPrivate; | |||
/** | /** | |||
* Represents a continue statement in the source code. | * Represents a continue statement in the source code. | |||
*/ | */ | |||
struct _ValaContinueStatement { | struct _ValaContinueStatement { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaContinueStatementPrivate * priv; | ValaContinueStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaContinueStatementClass { | struct _ValaContinueStatementClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaContinueStatement* vala_continue_statement_new (ValaSourceReference* so urce); | ValaContinueStatement* vala_continue_statement_new (ValaSourceReference* so urce); | |||
GType vala_continue_statement_get_type (void); | GType vala_continue_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valacreationmethod.h | valacreationmethod.h | |||
---|---|---|---|---|
skipping to change at line 49 | skipping to change at line 49 | |||
#define VALA_IS_CREATION_METHOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_CREATION_METHOD)) | #define VALA_IS_CREATION_METHOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_CREATION_METHOD)) | |||
#define VALA_IS_CREATION_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_CREATION_METHOD)) | #define VALA_IS_CREATION_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_CREATION_METHOD)) | |||
#define VALA_CREATION_METHOD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_CREATION_METHOD, ValaCreationMethodClass)) | #define VALA_CREATION_METHOD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_CREATION_METHOD, ValaCreationMethodClass)) | |||
typedef struct _ValaCreationMethodPrivate ValaCreationMethodPrivate; | typedef struct _ValaCreationMethodPrivate ValaCreationMethodPrivate; | |||
/** | /** | |||
* Represents a type creation method. | * Represents a type creation method. | |||
*/ | */ | |||
struct _ValaCreationMethod { | struct _ValaCreationMethod { | |||
ValaMethod parent; | ValaMethod parent_instance; | |||
ValaCreationMethodPrivate * priv; | ValaCreationMethodPrivate * priv; | |||
}; | }; | |||
struct _ValaCreationMethodClass { | struct _ValaCreationMethodClass { | |||
ValaMethodClass parent; | ValaMethodClass parent_class; | |||
}; | }; | |||
ValaCreationMethod* vala_creation_method_new (const char* type_name, const char* name, ValaSourceReference* source_reference); | ValaCreationMethod* vala_creation_method_new (const char* type_name, const char* name, ValaSourceReference* source_reference); | |||
char* vala_creation_method_get_type_name (ValaCreationMethod* self); | char* vala_creation_method_get_type_name (ValaCreationMethod* self); | |||
void vala_creation_method_set_type_name (ValaCreationMethod* self, const ch ar* value); | void vala_creation_method_set_type_name (ValaCreationMethod* self, const ch ar* value); | |||
gint vala_creation_method_get_n_construction_params (ValaCreationMethod* se lf); | gint vala_creation_method_get_n_construction_params (ValaCreationMethod* se lf); | |||
void vala_creation_method_set_n_construction_params (ValaCreationMethod* se lf, gint value); | void vala_creation_method_set_n_construction_params (ValaCreationMethod* se lf, gint value); | |||
GType vala_creation_method_get_type (void); | GType vala_creation_method_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valadatatype.h | valadatatype.h | |||
---|---|---|---|---|
/* valatype.vala | /* valadatatype.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter, Raffaele Sandrini | * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 29 | skipping to change at line 29 | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
*/ | */ | |||
#ifndef __VALA_VALADATATYPE_H__ | #ifndef __VALA_VALADATATYPE_H__ | |||
#define __VALA_VALADATATYPE_H__ | #define __VALA_VALADATATYPE_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <gee/list.h> | ||||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <gee/collection.h> | #include <gee/collection.h> | |||
#include <vala/valasymbol.h> | ||||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_DATA_TYPE (vala_data_type_get_type ()) | #define VALA_TYPE_DATA_TYPE (vala_data_type_get_type ()) | |||
#define VALA_DATA_TYPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_D ATA_TYPE, ValaDataType)) | #define VALA_DATA_TYPE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_D ATA_TYPE, ValaDataType)) | |||
#define VALA_DATA_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA _TYPE_DATA_TYPE, ValaDataTypeClass)) | #define VALA_DATA_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA _TYPE_DATA_TYPE, ValaDataTypeClass)) | |||
#define VALA_IS_DATA_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP E_DATA_TYPE)) | #define VALA_IS_DATA_TYPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP E_DATA_TYPE)) | |||
#define VALA_IS_DATA_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V ALA_TYPE_DATA_TYPE)) | #define VALA_IS_DATA_TYPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V ALA_TYPE_DATA_TYPE)) | |||
#define VALA_DATA_TYPE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA LA_TYPE_DATA_TYPE, ValaDataTypeClass)) | #define VALA_DATA_TYPE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA LA_TYPE_DATA_TYPE, ValaDataTypeClass)) | |||
typedef struct _ValaDataTypePrivate ValaDataTypePrivate; | typedef struct _ValaDataTypePrivate ValaDataTypePrivate; | |||
/** | /** | |||
* Represents a runtime data type. This data type may be defined in Vala so | * A reference to a data type. This is used to specify static types of | |||
urce | * expressions. | |||
* code or imported from an external library with a Vala API file. | ||||
*/ | */ | |||
struct _ValaDataType { | struct _ValaDataType { | |||
ValaSymbol parent; | ValaCodeNode parent_instance; | |||
ValaDataTypePrivate * priv; | ValaDataTypePrivate * priv; | |||
}; | }; | |||
struct _ValaDataTypeClass { | struct _ValaDataTypeClass { | |||
ValaSymbolClass parent; | ValaCodeNodeClass parent_class; | |||
char* (*get_cname) (ValaDataType* self, gboolean const_type); | char* (*get_cname) (ValaDataType* self, gboolean var_type, gboolean | |||
gboolean (*is_reference_type) (ValaDataType* self); | const_type); | |||
char* (*get_dup_function) (ValaDataType* self); | ValaDataType* (*copy) (ValaDataType* self); | |||
char* (*get_free_function) (ValaDataType* self); | gboolean (*stricter) (ValaDataType* self, ValaDataType* type2); | |||
gboolean (*is_reference_counting) (ValaDataType* self); | gboolean (*compatible) (ValaDataType* self, ValaDataType* target_typ | |||
char* (*get_ref_function) (ValaDataType* self); | e); | |||
char* (*get_unref_function) (ValaDataType* self); | gboolean (*is_invokable) (ValaDataType* self); | |||
char* (*get_type_id) (ValaDataType* self); | ValaDataType* (*get_return_type) (ValaDataType* self); | |||
char* (*get_marshaller_type_name) (ValaDataType* self); | GeeCollection* (*get_parameters) (ValaDataType* self); | |||
char* (*get_get_value_function) (ValaDataType* self); | gboolean (*is_reference_type_or_type_parameter) (ValaDataType* self) | |||
char* (*get_set_value_function) (ValaDataType* self); | ; | |||
char* (*get_upper_case_cname) (ValaDataType* self, const char* infix | gboolean (*is_array) (ValaDataType* self); | |||
); | GeeCollection* (*get_symbols) (ValaDataType* self); | |||
char* (*get_default_value) (ValaDataType* self); | ValaSymbol* (*get_pointer_member) (ValaDataType* self, const char* m | |||
gboolean (*is_subtype_of) (ValaDataType* self, ValaDataType* t); | ember_name); | |||
gint (*get_type_parameter_index) (ValaDataType* self, const char* na | ||||
me); | ||||
}; | }; | |||
char* vala_data_type_get_cname (ValaDataType* self, gboolean const_type); | ValaDataType* vala_data_type_new (void); | |||
gboolean vala_data_type_is_reference_type (ValaDataType* self); | void vala_data_type_add_type_argument (ValaDataType* self, ValaDataType* ar | |||
char* vala_data_type_get_dup_function (ValaDataType* self); | g); | |||
char* vala_data_type_get_free_function (ValaDataType* self); | GeeList* vala_data_type_get_type_arguments (ValaDataType* self); | |||
gboolean vala_data_type_is_reference_counting (ValaDataType* self); | void vala_data_type_remove_all_type_arguments (ValaDataType* self); | |||
char* vala_data_type_get_ref_function (ValaDataType* self); | char* vala_data_type_get_cname (ValaDataType* self, gboolean var_type, gboo | |||
char* vala_data_type_get_unref_function (ValaDataType* self); | lean const_type); | |||
char* vala_data_type_get_type_id (ValaDataType* self); | char* vala_data_type_get_const_cname (ValaDataType* self); | |||
char* vala_data_type_get_marshaller_type_name (ValaDataType* self); | ValaDataType* vala_data_type_copy (ValaDataType* self); | |||
char* vala_data_type_get_get_value_function (ValaDataType* self); | gboolean vala_data_type_equals (ValaDataType* self, ValaDataType* type2); | |||
char* vala_data_type_get_set_value_function (ValaDataType* self); | gboolean vala_data_type_stricter (ValaDataType* self, ValaDataType* type2); | |||
char* vala_data_type_get_upper_case_cname (ValaDataType* self, const char* | gboolean vala_data_type_compatible (ValaDataType* self, ValaDataType* targe | |||
infix); | t_type); | |||
char* vala_data_type_get_default_value (ValaDataType* self); | gboolean vala_data_type_is_invokable (ValaDataType* self); | |||
void vala_data_type_add_cheader_filename (ValaDataType* self, const char* f | ValaDataType* vala_data_type_get_return_type (ValaDataType* self); | |||
ilename); | GeeCollection* vala_data_type_get_parameters (ValaDataType* self); | |||
ValaPointer* vala_data_type_get_pointer (ValaDataType* self); | gboolean vala_data_type_is_reference_type_or_type_parameter (ValaDataType* | |||
ValaArray* vala_data_type_get_array (ValaDataType* self, gint rank); | self); | |||
gboolean vala_data_type_is_subtype_of (ValaDataType* self, ValaDataType* t) | gboolean vala_data_type_is_array (ValaDataType* self); | |||
; | GeeCollection* vala_data_type_get_symbols (ValaDataType* self); | |||
gint vala_data_type_get_type_parameter_index (ValaDataType* self, const cha | ValaSymbol* vala_data_type_get_pointer_member (ValaDataType* self, const ch | |||
r* name); | ar* member_name); | |||
gboolean vala_data_type_get_transfers_ownership (ValaDataType* self); | ||||
void vala_data_type_set_transfers_ownership (ValaDataType* self, gboolean v | ||||
alue); | ||||
gboolean vala_data_type_get_takes_ownership (ValaDataType* self); | ||||
void vala_data_type_set_takes_ownership (ValaDataType* self, gboolean value | ||||
); | ||||
gboolean vala_data_type_get_is_out (ValaDataType* self); | ||||
void vala_data_type_set_is_out (ValaDataType* self, gboolean value); | ||||
gboolean vala_data_type_get_nullable (ValaDataType* self); | ||||
void vala_data_type_set_nullable (ValaDataType* self, gboolean value); | ||||
gboolean vala_data_type_get_is_null (ValaDataType* self); | ||||
void vala_data_type_set_is_null (ValaDataType* self, gboolean value); | ||||
ValaTypesymbol* vala_data_type_get_data_type (ValaDataType* self); | ||||
void vala_data_type_set_data_type (ValaDataType* self, ValaTypesymbol* valu | ||||
e); | ||||
ValaTypeParameter* vala_data_type_get_type_parameter (ValaDataType* self); | ||||
void vala_data_type_set_type_parameter (ValaDataType* self, ValaTypeParamet | ||||
er* value); | ||||
gboolean vala_data_type_get_floating_reference (ValaDataType* self); | ||||
void vala_data_type_set_floating_reference (ValaDataType* self, gboolean va | ||||
lue); | ||||
gboolean vala_data_type_get_is_ref (ValaDataType* self); | ||||
void vala_data_type_set_is_ref (ValaDataType* self, gboolean value); | ||||
GType vala_data_type_get_type (void); | GType vala_data_type_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 8 change blocks. | ||||
47 lines changed or deleted | 67 lines changed or added | |||
valadbusbindingprovider.h | valadbusbindingprovider.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
#define VALA_DBUS_BINDING_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_DBUS_BINDING_PROVIDER, ValaDBusBindingProviderClass)) | #define VALA_DBUS_BINDING_PROVIDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_DBUS_BINDING_PROVIDER, ValaDBusBindingProviderClass)) | |||
typedef struct _ValaDBusBindingProvider ValaDBusBindingProvider; | typedef struct _ValaDBusBindingProvider ValaDBusBindingProvider; | |||
typedef struct _ValaDBusBindingProviderClass ValaDBusBindingProviderClass; | typedef struct _ValaDBusBindingProviderClass ValaDBusBindingProviderClass; | |||
typedef struct _ValaDBusBindingProviderPrivate ValaDBusBindingProviderPriva te; | typedef struct _ValaDBusBindingProviderPrivate ValaDBusBindingProviderPriva te; | |||
/** | /** | |||
* Dynamic binding provider for DBus objects. | * Dynamic binding provider for DBus objects. | |||
*/ | */ | |||
struct _ValaDBusBindingProvider { | struct _ValaDBusBindingProvider { | |||
GObject parent; | GObject parent_instance; | |||
ValaDBusBindingProviderPrivate * priv; | ValaDBusBindingProviderPrivate * priv; | |||
}; | }; | |||
struct _ValaDBusBindingProviderClass { | struct _ValaDBusBindingProviderClass { | |||
GObjectClass parent; | GObjectClass parent_class; | |||
}; | }; | |||
ValaDBusBindingProvider* vala_dbus_binding_provider_new (void); | ValaDBusBindingProvider* vala_dbus_binding_provider_new (void); | |||
void vala_dbus_binding_provider_set_context (ValaDBusBindingProvider* self, ValaCodeContext* value); | void vala_dbus_binding_provider_set_context (ValaDBusBindingProvider* self, ValaCodeContext* value); | |||
GType vala_dbus_binding_provider_get_type (void); | GType vala_dbus_binding_provider_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valadbusmethod.h | valadbusmethod.h | |||
---|---|---|---|---|
skipping to change at line 31 | skipping to change at line 31 | |||
*/ | */ | |||
#ifndef __GOBJECT_VALADBUSMETHOD_H__ | #ifndef __GOBJECT_VALADBUSMETHOD_H__ | |||
#define __GOBJECT_VALADBUSMETHOD_H__ | #define __GOBJECT_VALADBUSMETHOD_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valamethod.h> | #include <vala/valamethod.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <vala/valatypereference.h> | #include <vala/valadatatype.h> | |||
#include <vala/valasourcereference.h> | #include <vala/valasourcereference.h> | |||
#include <gee/collection.h> | #include <gee/collection.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_DBUS_METHOD (vala_dbus_method_get_type ()) | #define VALA_TYPE_DBUS_METHOD (vala_dbus_method_get_type ()) | |||
#define VALA_DBUS_METHOD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE _DBUS_METHOD, ValaDBusMethod)) | #define VALA_DBUS_METHOD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE _DBUS_METHOD, ValaDBusMethod)) | |||
#define VALA_DBUS_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VA LA_TYPE_DBUS_METHOD, ValaDBusMethodClass)) | #define VALA_DBUS_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VA LA_TYPE_DBUS_METHOD, ValaDBusMethodClass)) | |||
#define VALA_IS_DBUS_METHOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T YPE_DBUS_METHOD)) | #define VALA_IS_DBUS_METHOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T YPE_DBUS_METHOD)) | |||
#define VALA_IS_DBUS_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_DBUS_METHOD)) | #define VALA_IS_DBUS_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_DBUS_METHOD)) | |||
#define VALA_DBUS_METHOD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_DBUS_METHOD, ValaDBusMethodClass)) | #define VALA_DBUS_METHOD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_DBUS_METHOD, ValaDBusMethodClass)) | |||
typedef struct _ValaDBusMethod ValaDBusMethod; | typedef struct _ValaDBusMethod ValaDBusMethod; | |||
typedef struct _ValaDBusMethodClass ValaDBusMethodClass; | typedef struct _ValaDBusMethodClass ValaDBusMethodClass; | |||
typedef struct _ValaDBusMethodPrivate ValaDBusMethodPrivate; | typedef struct _ValaDBusMethodPrivate ValaDBusMethodPrivate; | |||
/** | /** | |||
* Represents a dynamic bound DBus method. | * Represents a dynamic bound DBus method. | |||
*/ | */ | |||
struct _ValaDBusMethod { | struct _ValaDBusMethod { | |||
ValaMethod parent; | ValaMethod parent_instance; | |||
ValaDBusMethodPrivate * priv; | ValaDBusMethodPrivate * priv; | |||
}; | }; | |||
struct _ValaDBusMethodClass { | struct _ValaDBusMethodClass { | |||
ValaMethodClass parent; | ValaMethodClass parent_class; | |||
}; | }; | |||
ValaDBusMethod* vala_dbus_method_new (const char* name, ValaTypeReference* return_type, ValaSourceReference* source_reference); | ValaDBusMethod* vala_dbus_method_new (const char* name, ValaDataType* retur n_type, ValaSourceReference* source_reference); | |||
GType vala_dbus_method_get_type (void); | GType vala_dbus_method_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 4 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
valadbussignal.h | valadbussignal.h | |||
---|---|---|---|---|
skipping to change at line 31 | skipping to change at line 31 | |||
*/ | */ | |||
#ifndef __GOBJECT_VALADBUSSIGNAL_H__ | #ifndef __GOBJECT_VALADBUSSIGNAL_H__ | |||
#define __GOBJECT_VALADBUSSIGNAL_H__ | #define __GOBJECT_VALADBUSSIGNAL_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valasignal.h> | #include <vala/valasignal.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <vala/valatypereference.h> | #include <vala/valadatatype.h> | |||
#include <vala/valasourcereference.h> | #include <vala/valasourcereference.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_DBUS_SIGNAL (vala_dbus_signal_get_type ()) | #define VALA_TYPE_DBUS_SIGNAL (vala_dbus_signal_get_type ()) | |||
#define VALA_DBUS_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE _DBUS_SIGNAL, ValaDBusSignal)) | #define VALA_DBUS_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE _DBUS_SIGNAL, ValaDBusSignal)) | |||
#define VALA_DBUS_SIGNAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VA LA_TYPE_DBUS_SIGNAL, ValaDBusSignalClass)) | #define VALA_DBUS_SIGNAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VA LA_TYPE_DBUS_SIGNAL, ValaDBusSignalClass)) | |||
#define VALA_IS_DBUS_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T YPE_DBUS_SIGNAL)) | #define VALA_IS_DBUS_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T YPE_DBUS_SIGNAL)) | |||
#define VALA_IS_DBUS_SIGNAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_DBUS_SIGNAL)) | #define VALA_IS_DBUS_SIGNAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_DBUS_SIGNAL)) | |||
#define VALA_DBUS_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_DBUS_SIGNAL, ValaDBusSignalClass)) | #define VALA_DBUS_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_DBUS_SIGNAL, ValaDBusSignalClass)) | |||
typedef struct _ValaDBusSignal ValaDBusSignal; | typedef struct _ValaDBusSignal ValaDBusSignal; | |||
typedef struct _ValaDBusSignalClass ValaDBusSignalClass; | typedef struct _ValaDBusSignalClass ValaDBusSignalClass; | |||
typedef struct _ValaDBusSignalPrivate ValaDBusSignalPrivate; | typedef struct _ValaDBusSignalPrivate ValaDBusSignalPrivate; | |||
/** | /** | |||
* Represents a dynamic bound DBus signal. | * Represents a dynamic bound DBus signal. | |||
*/ | */ | |||
struct _ValaDBusSignal { | struct _ValaDBusSignal { | |||
ValaSignal parent; | ValaSignal parent_instance; | |||
ValaDBusSignalPrivate * priv; | ValaDBusSignalPrivate * priv; | |||
}; | }; | |||
struct _ValaDBusSignalClass { | struct _ValaDBusSignalClass { | |||
ValaSignalClass parent; | ValaSignalClass parent_class; | |||
}; | }; | |||
ValaDBusSignal* vala_dbus_signal_new (const char* name, ValaTypeReference* return_type, ValaSourceReference* source_reference); | ValaDBusSignal* vala_dbus_signal_new (const char* name, ValaDataType* retur n_type, ValaSourceReference* source_reference); | |||
GType vala_dbus_signal_get_type (void); | GType vala_dbus_signal_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 4 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
valadeclarationstatement.h | valadeclarationstatement.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_DECLARATION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob j), VALA_TYPE_DECLARATION_STATEMENT)) | #define VALA_IS_DECLARATION_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob j), VALA_TYPE_DECLARATION_STATEMENT)) | |||
#define VALA_IS_DECLARATION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_DECLARATION_STATEMENT)) | #define VALA_IS_DECLARATION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_DECLARATION_STATEMENT)) | |||
#define VALA_DECLARATION_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_DECLARATION_STATEMENT, ValaDeclarationStatementClass)) | #define VALA_DECLARATION_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_DECLARATION_STATEMENT, ValaDeclarationStatementClass)) | |||
typedef struct _ValaDeclarationStatementPrivate ValaDeclarationStatementPri vate; | typedef struct _ValaDeclarationStatementPrivate ValaDeclarationStatementPri vate; | |||
/** | /** | |||
* Represents a local variable declaration statement in the source code. | * Represents a local variable declaration statement in the source code. | |||
*/ | */ | |||
struct _ValaDeclarationStatement { | struct _ValaDeclarationStatement { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaDeclarationStatementPrivate * priv; | ValaDeclarationStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaDeclarationStatementClass { | struct _ValaDeclarationStatementClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaDeclarationStatement* vala_declaration_statement_new (ValaLocalVariable Declaration* decl, ValaSourceReference* source); | ValaDeclarationStatement* vala_declaration_statement_new (ValaLocalVariable Declaration* decl, ValaSourceReference* source); | |||
ValaLocalVariableDeclaration* vala_declaration_statement_get_declaration (V alaDeclarationStatement* self); | ValaLocalVariableDeclaration* vala_declaration_statement_get_declaration (V alaDeclarationStatement* self); | |||
void vala_declaration_statement_set_declaration (ValaDeclarationStatement* self, ValaLocalVariableDeclaration* value); | void vala_declaration_statement_set_declaration (ValaDeclarationStatement* self, ValaLocalVariableDeclaration* value); | |||
GType vala_declaration_statement_get_type (void); | GType vala_declaration_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valadestructor.h | valadestructor.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_DESTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_DESTRUCTOR)) | #define VALA_IS_DESTRUCTOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_DESTRUCTOR)) | |||
#define VALA_IS_DESTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_DESTRUCTOR)) | #define VALA_IS_DESTRUCTOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_DESTRUCTOR)) | |||
#define VALA_DESTRUCTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_DESTRUCTOR, ValaDestructorClass)) | #define VALA_DESTRUCTOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_DESTRUCTOR, ValaDestructorClass)) | |||
typedef struct _ValaDestructorPrivate ValaDestructorPrivate; | typedef struct _ValaDestructorPrivate ValaDestructorPrivate; | |||
/** | /** | |||
* Represents a class or instance destructor. | * Represents a class or instance destructor. | |||
*/ | */ | |||
struct _ValaDestructor { | struct _ValaDestructor { | |||
ValaSymbol parent; | ValaSymbol parent_instance; | |||
ValaDestructorPrivate * priv; | ValaDestructorPrivate * priv; | |||
}; | }; | |||
struct _ValaDestructorClass { | struct _ValaDestructorClass { | |||
ValaSymbolClass parent; | ValaSymbolClass parent_class; | |||
}; | }; | |||
ValaDestructor* vala_destructor_new (ValaSourceReference* source_reference) ; | ValaDestructor* vala_destructor_new (ValaSourceReference* source_reference) ; | |||
ValaBlock* vala_destructor_get_body (ValaDestructor* self); | ValaBlock* vala_destructor_get_body (ValaDestructor* self); | |||
void vala_destructor_set_body (ValaDestructor* self, ValaBlock* value); | void vala_destructor_set_body (ValaDestructor* self, ValaBlock* value); | |||
gboolean vala_destructor_get_instance (ValaDestructor* self); | gboolean vala_destructor_get_instance (ValaDestructor* self); | |||
void vala_destructor_set_instance (ValaDestructor* self, gboolean value); | void vala_destructor_set_instance (ValaDestructor* self, gboolean value); | |||
GType vala_destructor_get_type (void); | GType vala_destructor_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valadostatement.h | valadostatement.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_DO_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_DO_STATEMENT)) | #define VALA_IS_DO_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_DO_STATEMENT)) | |||
#define VALA_IS_DO_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_DO_STATEMENT)) | #define VALA_IS_DO_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_DO_STATEMENT)) | |||
#define VALA_DO_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_DO_STATEMENT, ValaDoStatementClass)) | #define VALA_DO_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_DO_STATEMENT, ValaDoStatementClass)) | |||
typedef struct _ValaDoStatementPrivate ValaDoStatementPrivate; | typedef struct _ValaDoStatementPrivate ValaDoStatementPrivate; | |||
/** | /** | |||
* Represents a do iteration statement in the source code. | * Represents a do iteration statement in the source code. | |||
*/ | */ | |||
struct _ValaDoStatement { | struct _ValaDoStatement { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaDoStatementPrivate * priv; | ValaDoStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaDoStatementClass { | struct _ValaDoStatementClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaDoStatement* vala_do_statement_new (ValaBlock* body, ValaExpression* co ndition, ValaSourceReference* source_reference); | ValaDoStatement* vala_do_statement_new (ValaBlock* body, ValaExpression* co ndition, ValaSourceReference* source_reference); | |||
ValaBlock* vala_do_statement_get_body (ValaDoStatement* self); | ValaBlock* vala_do_statement_get_body (ValaDoStatement* self); | |||
void vala_do_statement_set_body (ValaDoStatement* self, ValaBlock* value); | void vala_do_statement_set_body (ValaDoStatement* self, ValaBlock* value); | |||
ValaExpression* vala_do_statement_get_condition (ValaDoStatement* self); | ValaExpression* vala_do_statement_get_condition (ValaDoStatement* self); | |||
void vala_do_statement_set_condition (ValaDoStatement* self, ValaExpression * value); | void vala_do_statement_set_condition (ValaDoStatement* self, ValaExpression * value); | |||
GType vala_do_statement_get_type (void); | GType vala_do_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaelementaccess.h | valaelementaccess.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_IS_ELEMENT_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_ELEMENT_ACCESS)) | #define VALA_IS_ELEMENT_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_ELEMENT_ACCESS)) | |||
#define VALA_IS_ELEMENT_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_ELEMENT_ACCESS)) | #define VALA_IS_ELEMENT_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_ELEMENT_ACCESS)) | |||
#define VALA_ELEMENT_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_ELEMENT_ACCESS, ValaElementAccessClass)) | #define VALA_ELEMENT_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_ELEMENT_ACCESS, ValaElementAccessClass)) | |||
typedef struct _ValaElementAccessPrivate ValaElementAccessPrivate; | typedef struct _ValaElementAccessPrivate ValaElementAccessPrivate; | |||
/** | /** | |||
* Represents an array access expression e.g. "a[1,2]". | * Represents an array access expression e.g. "a[1,2]". | |||
*/ | */ | |||
struct _ValaElementAccess { | struct _ValaElementAccess { | |||
ValaExpression parent; | ValaExpression parent_instance; | |||
ValaElementAccessPrivate * priv; | ValaElementAccessPrivate * priv; | |||
}; | }; | |||
struct _ValaElementAccessClass { | struct _ValaElementAccessClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent_class; | |||
}; | }; | |||
void vala_element_access_append_index (ValaElementAccess* self, ValaExpress ion* index); | void vala_element_access_append_index (ValaElementAccess* self, ValaExpress ion* index); | |||
GeeList* vala_element_access_get_indices (ValaElementAccess* self); | GeeList* vala_element_access_get_indices (ValaElementAccess* self); | |||
ValaElementAccess* vala_element_access_new (ValaExpression* container, Vala SourceReference* source_reference); | ValaElementAccess* vala_element_access_new (ValaExpression* container, Vala SourceReference* source_reference); | |||
ValaExpression* vala_element_access_get_container (ValaElementAccess* self) ; | ValaExpression* vala_element_access_get_container (ValaElementAccess* self) ; | |||
void vala_element_access_set_container (ValaElementAccess* self, ValaExpres sion* value); | void vala_element_access_set_container (ValaElementAccess* self, ValaExpres sion* value); | |||
GType vala_element_access_get_type (void); | GType vala_element_access_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaemptystatement.h | valaemptystatement.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_EMPTY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_EMPTY_STATEMENT)) | #define VALA_IS_EMPTY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_EMPTY_STATEMENT)) | |||
#define VALA_IS_EMPTY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_EMPTY_STATEMENT)) | #define VALA_IS_EMPTY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_EMPTY_STATEMENT)) | |||
#define VALA_EMPTY_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_EMPTY_STATEMENT, ValaEmptyStatementClass)) | #define VALA_EMPTY_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_EMPTY_STATEMENT, ValaEmptyStatementClass)) | |||
typedef struct _ValaEmptyStatementPrivate ValaEmptyStatementPrivate; | typedef struct _ValaEmptyStatementPrivate ValaEmptyStatementPrivate; | |||
/** | /** | |||
* An empty statement. | * An empty statement. | |||
*/ | */ | |||
struct _ValaEmptyStatement { | struct _ValaEmptyStatement { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaEmptyStatementPrivate * priv; | ValaEmptyStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaEmptyStatementClass { | struct _ValaEmptyStatementClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaEmptyStatement* vala_empty_statement_new (ValaSourceReference* source); | ValaEmptyStatement* vala_empty_statement_new (ValaSourceReference* source); | |||
GType vala_empty_statement_get_type (void); | GType vala_empty_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaenum.h | valaenum.h | |||
---|---|---|---|---|
skipping to change at line 31 | skipping to change at line 31 | |||
*/ | */ | |||
#ifndef __VALA_VALAENUM_H__ | #ifndef __VALA_VALAENUM_H__ | |||
#define __VALA_VALAENUM_H__ | #define __VALA_VALAENUM_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <gee/collection.h> | #include <gee/collection.h> | |||
#include <vala/valadatatype.h> | #include <vala/valatypesymbol.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_ENUM (vala_enum_get_type ()) | #define VALA_TYPE_ENUM (vala_enum_get_type ()) | |||
#define VALA_ENUM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ENUM, ValaEnum)) | #define VALA_ENUM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ENUM, ValaEnum)) | |||
#define VALA_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE _ENUM, ValaEnumClass)) | #define VALA_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE _ENUM, ValaEnumClass)) | |||
#define VALA_IS_ENUM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ENU M)) | #define VALA_IS_ENUM(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ENU M)) | |||
#define VALA_IS_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_T YPE_ENUM)) | #define VALA_IS_ENUM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_T YPE_ENUM)) | |||
#define VALA_ENUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TY PE_ENUM, ValaEnumClass)) | #define VALA_ENUM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TY PE_ENUM, ValaEnumClass)) | |||
typedef struct _ValaEnumPrivate ValaEnumPrivate; | typedef struct _ValaEnumPrivate ValaEnumPrivate; | |||
/** | /** | |||
* Represents an enum declaration in the source code. | * Represents an enum declaration in the source code. | |||
*/ | */ | |||
struct _ValaEnum { | struct _ValaEnum { | |||
ValaDataType parent; | ValaTypesymbol parent_instance; | |||
ValaEnumPrivate * priv; | ValaEnumPrivate * priv; | |||
}; | }; | |||
struct _ValaEnumClass { | struct _ValaEnumClass { | |||
ValaDataTypeClass parent; | ValaTypesymbolClass parent_class; | |||
}; | }; | |||
ValaEnum* vala_enum_new (const char* name, ValaSourceReference* source_refe rence); | ValaEnum* vala_enum_new (const char* name, ValaSourceReference* source_refe rence); | |||
void vala_enum_add_value (ValaEnum* self, ValaEnumValue* value); | void vala_enum_add_value (ValaEnum* self, ValaEnumValue* value); | |||
void vala_enum_add_method (ValaEnum* self, ValaMethod* m); | void vala_enum_add_method (ValaEnum* self, ValaMethod* m); | |||
GeeCollection* vala_enum_get_values (ValaEnum* self); | GeeCollection* vala_enum_get_values (ValaEnum* self); | |||
GeeCollection* vala_enum_get_methods (ValaEnum* self); | GeeCollection* vala_enum_get_methods (ValaEnum* self); | |||
char* vala_enum_get_cprefix (ValaEnum* self); | char* vala_enum_get_cprefix (ValaEnum* self); | |||
void vala_enum_set_cprefix (ValaEnum* self, const char* cprefix); | void vala_enum_set_cprefix (ValaEnum* self, const char* cprefix); | |||
void vala_enum_process_attributes (ValaEnum* self); | void vala_enum_process_attributes (ValaEnum* self); | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
valaenumvalue.h | valaenumvalue.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_IS_ENUM_VALUE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_ENUM_VALUE)) | #define VALA_IS_ENUM_VALUE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_ENUM_VALUE)) | |||
#define VALA_IS_ENUM_VALUE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_ENUM_VALUE)) | #define VALA_IS_ENUM_VALUE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_ENUM_VALUE)) | |||
#define VALA_ENUM_VALUE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_ENUM_VALUE, ValaEnumValueClass)) | #define VALA_ENUM_VALUE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_ENUM_VALUE, ValaEnumValueClass)) | |||
typedef struct _ValaEnumValuePrivate ValaEnumValuePrivate; | typedef struct _ValaEnumValuePrivate ValaEnumValuePrivate; | |||
/** | /** | |||
* Represents an enum member in the source code. | * Represents an enum member in the source code. | |||
*/ | */ | |||
struct _ValaEnumValue { | struct _ValaEnumValue { | |||
ValaSymbol parent; | ValaSymbol parent_instance; | |||
ValaEnumValuePrivate * priv; | ValaEnumValuePrivate * priv; | |||
}; | }; | |||
struct _ValaEnumValueClass { | struct _ValaEnumValueClass { | |||
ValaSymbolClass parent; | ValaSymbolClass parent_class; | |||
}; | }; | |||
ValaEnumValue* vala_enum_value_new (const char* name); | ValaEnumValue* vala_enum_value_new (const char* name); | |||
ValaEnumValue* vala_enum_value_new_with_value (const char* name, ValaExpres sion* value); | ValaEnumValue* vala_enum_value_new_with_value (const char* name, ValaExpres sion* value); | |||
char* vala_enum_value_get_cname (ValaEnumValue* self); | char* vala_enum_value_get_cname (ValaEnumValue* self); | |||
ValaExpression* vala_enum_value_get_value (ValaEnumValue* self); | ValaExpression* vala_enum_value_get_value (ValaEnumValue* self); | |||
void vala_enum_value_set_value (ValaEnumValue* self, ValaExpression* value) ; | void vala_enum_value_set_value (ValaEnumValue* self, ValaExpression* value) ; | |||
GType vala_enum_value_get_type (void); | GType vala_enum_value_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaexpression.h | valaexpression.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_EXPRESSION)) | #define VALA_IS_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY PE_EXPRESSION)) | |||
#define VALA_IS_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_EXPRESSION)) | #define VALA_IS_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_EXPRESSION)) | |||
#define VALA_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_EXPRESSION, ValaExpressionClass)) | #define VALA_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V ALA_TYPE_EXPRESSION, ValaExpressionClass)) | |||
typedef struct _ValaExpressionPrivate ValaExpressionPrivate; | typedef struct _ValaExpressionPrivate ValaExpressionPrivate; | |||
/** | /** | |||
* Base class for all code nodes that might be used as an expression. | * Base class for all code nodes that might be used as an expression. | |||
*/ | */ | |||
struct _ValaExpression { | struct _ValaExpression { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaExpressionPrivate * priv; | ValaExpressionPrivate * priv; | |||
GeeArrayList* temp_vars; | GeeArrayList* temp_vars; | |||
}; | }; | |||
struct _ValaExpressionClass { | struct _ValaExpressionClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
gboolean (*is_pure) (ValaExpression* self); | ||||
}; | }; | |||
ValaTypeReference* vala_expression_get_static_type (ValaExpression* self); | gboolean vala_expression_is_pure (ValaExpression* self); | |||
void vala_expression_set_static_type (ValaExpression* self, ValaTypeReferen | ValaDataType* vala_expression_get_static_type (ValaExpression* self); | |||
ce* value); | void vala_expression_set_static_type (ValaExpression* self, ValaDataType* v | |||
ValaTypeReference* vala_expression_get_expected_type (ValaExpression* self) | alue); | |||
; | ValaDataType* vala_expression_get_expected_type (ValaExpression* self); | |||
void vala_expression_set_expected_type (ValaExpression* self, ValaTypeRefer | void vala_expression_set_expected_type (ValaExpression* self, ValaDataType* | |||
ence* value); | value); | |||
ValaSymbol* vala_expression_get_symbol_reference (ValaExpression* self); | ValaSymbol* vala_expression_get_symbol_reference (ValaExpression* self); | |||
void vala_expression_set_symbol_reference (ValaExpression* self, ValaSymbol * value); | void vala_expression_set_symbol_reference (ValaExpression* self, ValaSymbol * value); | |||
gboolean vala_expression_get_ref_leaked (ValaExpression* self); | gboolean vala_expression_get_ref_leaked (ValaExpression* self); | |||
void vala_expression_set_ref_leaked (ValaExpression* self, gboolean value); | void vala_expression_set_ref_leaked (ValaExpression* self, gboolean value); | |||
gboolean vala_expression_get_ref_missing (ValaExpression* self); | gboolean vala_expression_get_ref_missing (ValaExpression* self); | |||
void vala_expression_set_ref_missing (ValaExpression* self, gboolean value) ; | void vala_expression_set_ref_missing (ValaExpression* self, gboolean value) ; | |||
gboolean vala_expression_get_ref_sink (ValaExpression* self); | gboolean vala_expression_get_ref_sink (ValaExpression* self); | |||
void vala_expression_set_ref_sink (ValaExpression* self, gboolean value); | void vala_expression_set_ref_sink (ValaExpression* self, gboolean value); | |||
gboolean vala_expression_get_can_fail (ValaExpression* self); | gboolean vala_expression_get_can_fail (ValaExpression* self); | |||
void vala_expression_set_can_fail (ValaExpression* self, gboolean value); | void vala_expression_set_can_fail (ValaExpression* self, gboolean value); | |||
End of changes. 3 change blocks. | ||||
9 lines changed or deleted | 10 lines changed or added | |||
valaexpressionstatement.h | valaexpressionstatement.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
#define VALA_IS_EXPRESSION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_EXPRESSION_STATEMENT)) | #define VALA_IS_EXPRESSION_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_EXPRESSION_STATEMENT)) | |||
#define VALA_EXPRESSION_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_EXPRESSION_STATEMENT, ValaExpressionStatementClass)) | #define VALA_EXPRESSION_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_EXPRESSION_STATEMENT, ValaExpressionStatementClass)) | |||
typedef struct _ValaExpressionStatementPrivate ValaExpressionStatementPriva te; | typedef struct _ValaExpressionStatementPrivate ValaExpressionStatementPriva te; | |||
/** | /** | |||
* A code statement that evaluates a given expression. The value computed b y the | * A code statement that evaluates a given expression. The value computed b y the | |||
* expression, if any, is discarded. | * expression, if any, is discarded. | |||
*/ | */ | |||
struct _ValaExpressionStatement { | struct _ValaExpressionStatement { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaExpressionStatementPrivate * priv; | ValaExpressionStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaExpressionStatementClass { | struct _ValaExpressionStatementClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaExpressionStatement* vala_expression_statement_new (ValaExpression* exp ression, ValaSourceReference* source_reference); | ValaExpressionStatement* vala_expression_statement_new (ValaExpression* exp ression, ValaSourceReference* source_reference); | |||
ValaProperty* vala_expression_statement_assigned_property (ValaExpressionSt atement* self); | ValaProperty* vala_expression_statement_assigned_property (ValaExpressionSt atement* self); | |||
ValaExpression* vala_expression_statement_get_expression (ValaExpressionSta tement* self); | ValaExpression* vala_expression_statement_get_expression (ValaExpressionSta tement* self); | |||
void vala_expression_statement_set_expression (ValaExpressionStatement* sel f, ValaExpression* value); | void vala_expression_statement_set_expression (ValaExpressionStatement* sel f, ValaExpression* value); | |||
GType vala_expression_statement_get_type (void); | GType vala_expression_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valafield.h | valafield.h | |||
---|---|---|---|---|
skipping to change at line 30 | skipping to change at line 30 | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALA_VALAFIELD_H__ | #ifndef __VALA_VALAFIELD_H__ | |||
#define __VALA_VALAFIELD_H__ | #define __VALA_VALAFIELD_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <gee/collection.h> | ||||
#include <vala/valamember.h> | #include <vala/valamember.h> | |||
#include <vala/valainvokable.h> | ||||
#include <vala/valalockable.h> | #include <vala/valalockable.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_FIELD (vala_field_get_type ()) | #define VALA_TYPE_FIELD (vala_field_get_type ()) | |||
#define VALA_FIELD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_FIELD , ValaField)) | #define VALA_FIELD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_FIELD , ValaField)) | |||
#define VALA_FIELD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP E_FIELD, ValaFieldClass)) | #define VALA_FIELD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYP E_FIELD, ValaFieldClass)) | |||
#define VALA_IS_FIELD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_FI ELD)) | #define VALA_IS_FIELD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_FI ELD)) | |||
#define VALA_IS_FIELD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_ TYPE_FIELD)) | #define VALA_IS_FIELD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_ TYPE_FIELD)) | |||
#define VALA_FIELD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T YPE_FIELD, ValaFieldClass)) | #define VALA_FIELD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T YPE_FIELD, ValaFieldClass)) | |||
typedef struct _ValaFieldPrivate ValaFieldPrivate; | typedef struct _ValaFieldPrivate ValaFieldPrivate; | |||
/** | /** | |||
* Represents a type or namespace field. | * Represents a type or namespace field. | |||
*/ | */ | |||
struct _ValaField { | struct _ValaField { | |||
ValaMember parent; | ValaMember parent_instance; | |||
ValaFieldPrivate * priv; | ValaFieldPrivate * priv; | |||
}; | }; | |||
struct _ValaFieldClass { | struct _ValaFieldClass { | |||
ValaMemberClass parent; | ValaMemberClass parent_class; | |||
}; | }; | |||
ValaField* vala_field_new (const char* name, ValaTypeReference* type_refere nce, ValaExpression* initializer, ValaSourceReference* source_reference); | ValaField* vala_field_new (const char* name, ValaDataType* type_reference, ValaExpression* initializer, ValaSourceReference* source_reference); | |||
char* vala_field_get_cname (ValaField* self); | char* vala_field_get_cname (ValaField* self); | |||
char* vala_field_get_default_cname (ValaField* self); | char* vala_field_get_default_cname (ValaField* self); | |||
void vala_field_process_attributes (ValaField* self); | void vala_field_process_attributes (ValaField* self); | |||
ValaTypeReference* vala_field_get_type_reference (ValaField* self); | ValaDataType* vala_field_get_type_reference (ValaField* self); | |||
void vala_field_set_type_reference (ValaField* self, ValaTypeReference* val | void vala_field_set_type_reference (ValaField* self, ValaDataType* value); | |||
ue); | ||||
ValaExpression* vala_field_get_initializer (ValaField* self); | ValaExpression* vala_field_get_initializer (ValaField* self); | |||
void vala_field_set_initializer (ValaField* self, ValaExpression* value); | void vala_field_set_initializer (ValaField* self, ValaExpression* value); | |||
gboolean vala_field_get_instance (ValaField* self); | gboolean vala_field_get_instance (ValaField* self); | |||
void vala_field_set_instance (ValaField* self, gboolean value); | void vala_field_set_instance (ValaField* self, gboolean value); | |||
gboolean vala_field_get_is_volatile (ValaField* self); | ||||
void vala_field_set_is_volatile (ValaField* self, gboolean value); | ||||
gboolean vala_field_get_no_array_length (ValaField* self); | gboolean vala_field_get_no_array_length (ValaField* self); | |||
void vala_field_set_no_array_length (ValaField* self, gboolean value); | void vala_field_set_no_array_length (ValaField* self, gboolean value); | |||
GType vala_field_get_type (void); | GType vala_field_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 7 change blocks. | ||||
8 lines changed or deleted | 7 lines changed or added | |||
valaforeachstatement.h | valaforeachstatement.h | |||
---|---|---|---|---|
skipping to change at line 49 | skipping to change at line 49 | |||
#define VALA_IS_FOREACH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_FOREACH_STATEMENT)) | #define VALA_IS_FOREACH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_FOREACH_STATEMENT)) | |||
#define VALA_FOREACH_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_FOREACH_STATEMENT, ValaForeachStatementClass)) | #define VALA_FOREACH_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_FOREACH_STATEMENT, ValaForeachStatementClass)) | |||
typedef struct _ValaForeachStatementPrivate ValaForeachStatementPrivate; | typedef struct _ValaForeachStatementPrivate ValaForeachStatementPrivate; | |||
/** | /** | |||
* Represents a foreach statement in the source code. Foreach statements it erate | * Represents a foreach statement in the source code. Foreach statements it erate | |||
* over the elements of a collection. | * over the elements of a collection. | |||
*/ | */ | |||
struct _ValaForeachStatement { | struct _ValaForeachStatement { | |||
ValaBlock parent; | ValaBlock parent_instance; | |||
ValaForeachStatementPrivate * priv; | ValaForeachStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaForeachStatementClass { | struct _ValaForeachStatementClass { | |||
ValaBlockClass parent; | ValaBlockClass parent_class; | |||
}; | }; | |||
ValaForeachStatement* vala_foreach_statement_new (ValaTypeReference* type_r | ValaForeachStatement* vala_foreach_statement_new (ValaDataType* type_refere | |||
eference, const char* variable_name, ValaExpression* collection, ValaBlock* | nce, const char* variable_name, ValaExpression* collection, ValaBlock* body | |||
body, ValaSourceReference* source_reference); | , ValaSourceReference* source_reference); | |||
ValaTypeReference* vala_foreach_statement_get_type_reference (ValaForeachSt | ValaDataType* vala_foreach_statement_get_type_reference (ValaForeachStateme | |||
atement* self); | nt* self); | |||
void vala_foreach_statement_set_type_reference (ValaForeachStatement* self, | void vala_foreach_statement_set_type_reference (ValaForeachStatement* self, | |||
ValaTypeReference* value); | ValaDataType* value); | |||
char* vala_foreach_statement_get_variable_name (ValaForeachStatement* self) ; | char* vala_foreach_statement_get_variable_name (ValaForeachStatement* self) ; | |||
void vala_foreach_statement_set_variable_name (ValaForeachStatement* self, const char* value); | void vala_foreach_statement_set_variable_name (ValaForeachStatement* self, const char* value); | |||
ValaExpression* vala_foreach_statement_get_collection (ValaForeachStatement * self); | ValaExpression* vala_foreach_statement_get_collection (ValaForeachStatement * self); | |||
void vala_foreach_statement_set_collection (ValaForeachStatement* self, Val aExpression* value); | void vala_foreach_statement_set_collection (ValaForeachStatement* self, Val aExpression* value); | |||
ValaBlock* vala_foreach_statement_get_body (ValaForeachStatement* self); | ValaBlock* vala_foreach_statement_get_body (ValaForeachStatement* self); | |||
void vala_foreach_statement_set_body (ValaForeachStatement* self, ValaBlock * value); | void vala_foreach_statement_set_body (ValaForeachStatement* self, ValaBlock * value); | |||
ValaVariableDeclarator* vala_foreach_statement_get_variable_declarator (Val aForeachStatement* self); | ValaVariableDeclarator* vala_foreach_statement_get_variable_declarator (Val aForeachStatement* self); | |||
void vala_foreach_statement_set_variable_declarator (ValaForeachStatement* self, ValaVariableDeclarator* value); | void vala_foreach_statement_set_variable_declarator (ValaForeachStatement* self, ValaVariableDeclarator* value); | |||
ValaVariableDeclarator* vala_foreach_statement_get_collection_variable_decl arator (ValaForeachStatement* self); | ValaVariableDeclarator* vala_foreach_statement_get_collection_variable_decl arator (ValaForeachStatement* self); | |||
void vala_foreach_statement_set_collection_variable_declarator (ValaForeach Statement* self, ValaVariableDeclarator* value); | void vala_foreach_statement_set_collection_variable_declarator (ValaForeach Statement* self, ValaVariableDeclarator* value); | |||
End of changes. 3 change blocks. | ||||
9 lines changed or deleted | 9 lines changed or added | |||
valaformalparameter.h | valaformalparameter.h | |||
---|---|---|---|---|
skipping to change at line 31 | skipping to change at line 31 | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
*/ | */ | |||
#ifndef __VALA_VALAFORMALPARAMETER_H__ | #ifndef __VALA_VALAFORMALPARAMETER_H__ | |||
#define __VALA_VALAFORMALPARAMETER_H__ | #define __VALA_VALAFORMALPARAMETER_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <gee/collection.h> | ||||
#include <vala/valasymbol.h> | #include <vala/valasymbol.h> | |||
#include <vala/valainvokable.h> | ||||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_FORMAL_PARAMETER (vala_formal_parameter_get_type ()) | #define VALA_TYPE_FORMAL_PARAMETER (vala_formal_parameter_get_type ()) | |||
#define VALA_FORMAL_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_FORMAL_PARAMETER, ValaFormalParameter)) | #define VALA_FORMAL_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_FORMAL_PARAMETER, ValaFormalParameter)) | |||
#define VALA_FORMAL_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_FORMAL_PARAMETER, ValaFormalParameterClass)) | #define VALA_FORMAL_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_FORMAL_PARAMETER, ValaFormalParameterClass)) | |||
#define VALA_IS_FORMAL_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_FORMAL_PARAMETER)) | #define VALA_IS_FORMAL_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_FORMAL_PARAMETER)) | |||
#define VALA_IS_FORMAL_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_FORMAL_PARAMETER)) | #define VALA_IS_FORMAL_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_FORMAL_PARAMETER)) | |||
#define VALA_FORMAL_PARAMETER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_FORMAL_PARAMETER, ValaFormalParameterClass)) | #define VALA_FORMAL_PARAMETER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_FORMAL_PARAMETER, ValaFormalParameterClass)) | |||
typedef struct _ValaFormalParameterPrivate ValaFormalParameterPrivate; | typedef struct _ValaFormalParameterPrivate ValaFormalParameterPrivate; | |||
/** | /** | |||
* Represents a formal parameter in method and callback signatures. | * Represents a formal parameter in method and callback signatures. | |||
*/ | */ | |||
struct _ValaFormalParameter { | struct _ValaFormalParameter { | |||
ValaSymbol parent; | ValaSymbol parent_instance; | |||
ValaFormalParameterPrivate * priv; | ValaFormalParameterPrivate * priv; | |||
}; | }; | |||
struct _ValaFormalParameterClass { | struct _ValaFormalParameterClass { | |||
ValaSymbolClass parent; | ValaSymbolClass parent_class; | |||
}; | }; | |||
ValaFormalParameter* vala_formal_parameter_new (const char* _name, ValaType Reference* type, ValaSourceReference* source); | ValaFormalParameter* vala_formal_parameter_new (const char* _name, ValaData Type* type, ValaSourceReference* source); | |||
ValaFormalParameter* vala_formal_parameter_new_with_ellipsis (ValaSourceRef erence* source); | ValaFormalParameter* vala_formal_parameter_new_with_ellipsis (ValaSourceRef erence* source); | |||
ValaTypeReference* vala_formal_parameter_get_type_reference (ValaFormalPara | ValaDataType* vala_formal_parameter_get_type_reference (ValaFormalParameter | |||
meter* self); | * self); | |||
void vala_formal_parameter_set_type_reference (ValaFormalParameter* self, V | void vala_formal_parameter_set_type_reference (ValaFormalParameter* self, V | |||
alaTypeReference* value); | alaDataType* value); | |||
gboolean vala_formal_parameter_get_ellipsis (ValaFormalParameter* self); | gboolean vala_formal_parameter_get_ellipsis (ValaFormalParameter* self); | |||
void vala_formal_parameter_set_ellipsis (ValaFormalParameter* self, gboolea n value); | void vala_formal_parameter_set_ellipsis (ValaFormalParameter* self, gboolea n value); | |||
ValaExpression* vala_formal_parameter_get_default_expression (ValaFormalPar ameter* self); | ValaExpression* vala_formal_parameter_get_default_expression (ValaFormalPar ameter* self); | |||
void vala_formal_parameter_set_default_expression (ValaFormalParameter* sel f, ValaExpression* value); | void vala_formal_parameter_set_default_expression (ValaFormalParameter* sel f, ValaExpression* value); | |||
gboolean vala_formal_parameter_get_no_array_length (ValaFormalParameter* se lf); | gboolean vala_formal_parameter_get_no_array_length (ValaFormalParameter* se lf); | |||
void vala_formal_parameter_set_no_array_length (ValaFormalParameter* self, gboolean value); | void vala_formal_parameter_set_no_array_length (ValaFormalParameter* self, gboolean value); | |||
gboolean vala_formal_parameter_get_construct_parameter (ValaFormalParameter * self); | gboolean vala_formal_parameter_get_construct_parameter (ValaFormalParameter * self); | |||
void vala_formal_parameter_set_construct_parameter (ValaFormalParameter* se lf, gboolean value); | void vala_formal_parameter_set_construct_parameter (ValaFormalParameter* se lf, gboolean value); | |||
GType vala_formal_parameter_get_type (void); | GType vala_formal_parameter_get_type (void); | |||
End of changes. 6 change blocks. | ||||
9 lines changed or deleted | 7 lines changed or added | |||
valaforstatement.h | valaforstatement.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
#define VALA_IS_FOR_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA _TYPE_FOR_STATEMENT)) | #define VALA_IS_FOR_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA _TYPE_FOR_STATEMENT)) | |||
#define VALA_IS_FOR_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), VALA_TYPE_FOR_STATEMENT)) | #define VALA_IS_FOR_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), VALA_TYPE_FOR_STATEMENT)) | |||
#define VALA_FOR_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_FOR_STATEMENT, ValaForStatementClass)) | #define VALA_FOR_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_FOR_STATEMENT, ValaForStatementClass)) | |||
typedef struct _ValaForStatementPrivate ValaForStatementPrivate; | typedef struct _ValaForStatementPrivate ValaForStatementPrivate; | |||
/** | /** | |||
* Represents a for iteration statement in the source code. | * Represents a for iteration statement in the source code. | |||
*/ | */ | |||
struct _ValaForStatement { | struct _ValaForStatement { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaForStatementPrivate * priv; | ValaForStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaForStatementClass { | struct _ValaForStatementClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaForStatement* vala_for_statement_new (ValaExpression* condition, ValaBl ock* body, ValaSourceReference* source_reference); | ValaForStatement* vala_for_statement_new (ValaExpression* condition, ValaBl ock* body, ValaSourceReference* source_reference); | |||
void vala_for_statement_add_initializer (ValaForStatement* self, ValaExpres sion* init); | void vala_for_statement_add_initializer (ValaForStatement* self, ValaExpres sion* init); | |||
GeeCollection* vala_for_statement_get_initializer (ValaForStatement* self); | GeeCollection* vala_for_statement_get_initializer (ValaForStatement* self); | |||
void vala_for_statement_add_iterator (ValaForStatement* self, ValaExpressio n* iter); | void vala_for_statement_add_iterator (ValaForStatement* self, ValaExpressio n* iter); | |||
GeeCollection* vala_for_statement_get_iterator (ValaForStatement* self); | GeeCollection* vala_for_statement_get_iterator (ValaForStatement* self); | |||
ValaExpression* vala_for_statement_get_condition (ValaForStatement* self); | ValaExpression* vala_for_statement_get_condition (ValaForStatement* self); | |||
void vala_for_statement_set_condition (ValaForStatement* self, ValaExpressi on* value); | void vala_for_statement_set_condition (ValaForStatement* self, ValaExpressi on* value); | |||
ValaBlock* vala_for_statement_get_body (ValaForStatement* self); | ValaBlock* vala_for_statement_get_body (ValaForStatement* self); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaifstatement.h | valaifstatement.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_IF_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_IF_STATEMENT)) | #define VALA_IS_IF_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_IF_STATEMENT)) | |||
#define VALA_IS_IF_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_IF_STATEMENT)) | #define VALA_IS_IF_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_IF_STATEMENT)) | |||
#define VALA_IF_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_IF_STATEMENT, ValaIfStatementClass)) | #define VALA_IF_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_IF_STATEMENT, ValaIfStatementClass)) | |||
typedef struct _ValaIfStatementPrivate ValaIfStatementPrivate; | typedef struct _ValaIfStatementPrivate ValaIfStatementPrivate; | |||
/** | /** | |||
* Represents an if selection statement in the source code. | * Represents an if selection statement in the source code. | |||
*/ | */ | |||
struct _ValaIfStatement { | struct _ValaIfStatement { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaIfStatementPrivate * priv; | ValaIfStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaIfStatementClass { | struct _ValaIfStatementClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaIfStatement* vala_if_statement_new (ValaExpression* cond, ValaBlock* tr ue_stmt, ValaBlock* false_stmt, ValaSourceReference* source); | ValaIfStatement* vala_if_statement_new (ValaExpression* cond, ValaBlock* tr ue_stmt, ValaBlock* false_stmt, ValaSourceReference* source); | |||
ValaExpression* vala_if_statement_get_condition (ValaIfStatement* self); | ValaExpression* vala_if_statement_get_condition (ValaIfStatement* self); | |||
void vala_if_statement_set_condition (ValaIfStatement* self, ValaExpression * value); | void vala_if_statement_set_condition (ValaIfStatement* self, ValaExpression * value); | |||
ValaBlock* vala_if_statement_get_true_statement (ValaIfStatement* self); | ValaBlock* vala_if_statement_get_true_statement (ValaIfStatement* self); | |||
void vala_if_statement_set_true_statement (ValaIfStatement* self, ValaBlock * value); | void vala_if_statement_set_true_statement (ValaIfStatement* self, ValaBlock * value); | |||
ValaBlock* vala_if_statement_get_false_statement (ValaIfStatement* self); | ValaBlock* vala_if_statement_get_false_statement (ValaIfStatement* self); | |||
void vala_if_statement_set_false_statement (ValaIfStatement* self, ValaBloc k* value); | void vala_if_statement_set_false_statement (ValaIfStatement* self, ValaBloc k* value); | |||
GType vala_if_statement_get_type (void); | GType vala_if_statement_get_type (void); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valainitializerlist.h | valainitializerlist.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_IS_INITIALIZER_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_INITIALIZER_LIST)) | #define VALA_IS_INITIALIZER_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_INITIALIZER_LIST)) | |||
#define VALA_IS_INITIALIZER_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_INITIALIZER_LIST)) | #define VALA_IS_INITIALIZER_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_INITIALIZER_LIST)) | |||
#define VALA_INITIALIZER_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_INITIALIZER_LIST, ValaInitializerListClass)) | #define VALA_INITIALIZER_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_INITIALIZER_LIST, ValaInitializerListClass)) | |||
typedef struct _ValaInitializerListPrivate ValaInitializerListPrivate; | typedef struct _ValaInitializerListPrivate ValaInitializerListPrivate; | |||
/** | /** | |||
* Represents an array or struct initializer list in the source code. | * Represents an array or struct initializer list in the source code. | |||
*/ | */ | |||
struct _ValaInitializerList { | struct _ValaInitializerList { | |||
ValaExpression parent; | ValaExpression parent_instance; | |||
ValaInitializerListPrivate * priv; | ValaInitializerListPrivate * priv; | |||
}; | }; | |||
struct _ValaInitializerListClass { | struct _ValaInitializerListClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent_class; | |||
}; | }; | |||
void vala_initializer_list_append (ValaInitializerList* self, ValaExpressio n* expr); | void vala_initializer_list_append (ValaInitializerList* self, ValaExpressio n* expr); | |||
GeeCollection* vala_initializer_list_get_initializers (ValaInitializerList* self); | GeeCollection* vala_initializer_list_get_initializers (ValaInitializerList* self); | |||
ValaInitializerList* vala_initializer_list_new (ValaSourceReference* source _reference); | ValaInitializerList* vala_initializer_list_new (ValaSourceReference* source _reference); | |||
gint vala_initializer_list_get_size (ValaInitializerList* self); | gint vala_initializer_list_get_size (ValaInitializerList* self); | |||
GType vala_initializer_list_get_type (void); | GType vala_initializer_list_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valainstancecast.h | valainstancecast.h | |||
---|---|---|---|---|
/* valainstancecast.vala | /* valainstancecast.vala | |||
* | * | |||
* Copyright (C) 2006 Jürg Billeter | * Copyright (C) 2006-2007 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 30 | skipping to change at line 30 | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALA_VALAINSTANCECAST_H__ | #ifndef __VALA_VALAINSTANCECAST_H__ | |||
#define __VALA_VALAINSTANCECAST_H__ | #define __VALA_VALAINSTANCECAST_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <ccode/valaccodefunctioncall.h> | #include <ccode/valaccodefunctioncall.h> | |||
#include <ccode/valaccodeexpression.h> | #include <ccode/valaccodeexpression.h> | |||
#include <vala/valadatatype.h> | #include <vala/valatypesymbol.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_INSTANCE_CAST (vala_instance_cast_get_type ()) | #define VALA_TYPE_INSTANCE_CAST (vala_instance_cast_get_type ()) | |||
#define VALA_INSTANCE_CAST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY PE_INSTANCE_CAST, ValaInstanceCast)) | #define VALA_INSTANCE_CAST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY PE_INSTANCE_CAST, ValaInstanceCast)) | |||
#define VALA_INSTANCE_CAST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_INSTANCE_CAST, ValaInstanceCastClass)) | #define VALA_INSTANCE_CAST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_INSTANCE_CAST, ValaInstanceCastClass)) | |||
#define VALA_IS_INSTANCE_CAST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA _TYPE_INSTANCE_CAST)) | #define VALA_IS_INSTANCE_CAST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA _TYPE_INSTANCE_CAST)) | |||
#define VALA_IS_INSTANCE_CAST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), VALA_TYPE_INSTANCE_CAST)) | #define VALA_IS_INSTANCE_CAST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), VALA_TYPE_INSTANCE_CAST)) | |||
#define VALA_INSTANCE_CAST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_INSTANCE_CAST, ValaInstanceCastClass)) | #define VALA_INSTANCE_CAST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_INSTANCE_CAST, ValaInstanceCastClass)) | |||
typedef struct _ValaInstanceCast ValaInstanceCast; | typedef struct _ValaInstanceCast ValaInstanceCast; | |||
typedef struct _ValaInstanceCastClass ValaInstanceCastClass; | typedef struct _ValaInstanceCastClass ValaInstanceCastClass; | |||
typedef struct _ValaInstanceCastPrivate ValaInstanceCastPrivate; | typedef struct _ValaInstanceCastPrivate ValaInstanceCastPrivate; | |||
/** | /** | |||
* Represents a runtime checked object instance cast expression in the C co de. | * Represents a runtime checked object instance cast expression in the C co de. | |||
*/ | */ | |||
struct _ValaInstanceCast { | struct _ValaInstanceCast { | |||
ValaCCodeFunctionCall parent; | ValaCCodeFunctionCall parent_instance; | |||
ValaInstanceCastPrivate * priv; | ValaInstanceCastPrivate * priv; | |||
}; | }; | |||
struct _ValaInstanceCastClass { | struct _ValaInstanceCastClass { | |||
ValaCCodeFunctionCallClass parent; | ValaCCodeFunctionCallClass parent_class; | |||
}; | }; | |||
ValaInstanceCast* vala_instance_cast_new (ValaCCodeExpression* expr, ValaDa | ValaInstanceCast* vala_instance_cast_new (ValaCCodeExpression* expr, ValaTy | |||
taType* type); | pesymbol* type); | |||
ValaDataType* vala_instance_cast_get_type_reference (ValaInstanceCast* self | ValaTypesymbol* vala_instance_cast_get_type_reference (ValaInstanceCast* se | |||
); | lf); | |||
void vala_instance_cast_set_type_reference (ValaInstanceCast* self, ValaDat | void vala_instance_cast_set_type_reference (ValaInstanceCast* self, ValaTyp | |||
aType* value); | esymbol* value); | |||
ValaCCodeExpression* vala_instance_cast_get_inner (ValaInstanceCast* self); | ValaCCodeExpression* vala_instance_cast_get_inner (ValaInstanceCast* self); | |||
void vala_instance_cast_set_inner (ValaInstanceCast* self, ValaCCodeExpress ion* value); | void vala_instance_cast_set_inner (ValaInstanceCast* self, ValaCCodeExpress ion* value); | |||
GType vala_instance_cast_get_type (void); | GType vala_instance_cast_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 5 change blocks. | ||||
10 lines changed or deleted | 10 lines changed or added | |||
valaintegerliteral.h | valaintegerliteral.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_IS_INTEGER_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_INTEGER_LITERAL)) | #define VALA_IS_INTEGER_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_INTEGER_LITERAL)) | |||
#define VALA_IS_INTEGER_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_INTEGER_LITERAL)) | #define VALA_IS_INTEGER_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_INTEGER_LITERAL)) | |||
#define VALA_INTEGER_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_INTEGER_LITERAL, ValaIntegerLiteralClass)) | #define VALA_INTEGER_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_INTEGER_LITERAL, ValaIntegerLiteralClass)) | |||
typedef struct _ValaIntegerLiteralPrivate ValaIntegerLiteralPrivate; | typedef struct _ValaIntegerLiteralPrivate ValaIntegerLiteralPrivate; | |||
/** | /** | |||
* Represents an integer literal in the source code. | * Represents an integer literal in the source code. | |||
*/ | */ | |||
struct _ValaIntegerLiteral { | struct _ValaIntegerLiteral { | |||
ValaLiteral parent; | ValaLiteral parent_instance; | |||
ValaIntegerLiteralPrivate * priv; | ValaIntegerLiteralPrivate * priv; | |||
}; | }; | |||
struct _ValaIntegerLiteralClass { | struct _ValaIntegerLiteralClass { | |||
ValaLiteralClass parent; | ValaLiteralClass parent_class; | |||
}; | }; | |||
ValaIntegerLiteral* vala_integer_literal_new (const char* i, ValaSourceRefe rence* source); | ValaIntegerLiteral* vala_integer_literal_new (const char* i, ValaSourceRefe rence* source); | |||
char* vala_integer_literal_get_type_name (ValaIntegerLiteral* self); | char* vala_integer_literal_get_type_name (ValaIntegerLiteral* self); | |||
char* vala_integer_literal_get_value (ValaIntegerLiteral* self); | char* vala_integer_literal_get_value (ValaIntegerLiteral* self); | |||
void vala_integer_literal_set_value (ValaIntegerLiteral* self, const char* value); | void vala_integer_literal_set_value (ValaIntegerLiteral* self, const char* value); | |||
GType vala_integer_literal_get_type (void); | GType vala_integer_literal_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valainterface.h | valainterface.h | |||
---|---|---|---|---|
/* valainterface.vala | /* valainterface.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 31 | skipping to change at line 31 | |||
*/ | */ | |||
#ifndef __VALA_VALAINTERFACE_H__ | #ifndef __VALA_VALAINTERFACE_H__ | |||
#define __VALA_VALAINTERFACE_H__ | #define __VALA_VALAINTERFACE_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <gee/collection.h> | #include <gee/collection.h> | |||
#include <vala/valadatatype.h> | #include <vala/valatypesymbol.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_INTERFACE (vala_interface_get_type ()) | #define VALA_TYPE_INTERFACE (vala_interface_get_type ()) | |||
#define VALA_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_I NTERFACE, ValaInterface)) | #define VALA_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_I NTERFACE, ValaInterface)) | |||
#define VALA_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA _TYPE_INTERFACE, ValaInterfaceClass)) | #define VALA_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA _TYPE_INTERFACE, ValaInterfaceClass)) | |||
#define VALA_IS_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP E_INTERFACE)) | #define VALA_IS_INTERFACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP E_INTERFACE)) | |||
#define VALA_IS_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V ALA_TYPE_INTERFACE)) | #define VALA_IS_INTERFACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V ALA_TYPE_INTERFACE)) | |||
#define VALA_INTERFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA LA_TYPE_INTERFACE, ValaInterfaceClass)) | #define VALA_INTERFACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA LA_TYPE_INTERFACE, ValaInterfaceClass)) | |||
typedef struct _ValaInterfacePrivate ValaInterfacePrivate; | typedef struct _ValaInterfacePrivate ValaInterfacePrivate; | |||
/** | /** | |||
* Represents a class declaration in the source code. | * Represents a class declaration in the source code. | |||
*/ | */ | |||
struct _ValaInterface { | struct _ValaInterface { | |||
ValaDataType parent; | ValaTypesymbol parent_instance; | |||
ValaInterfacePrivate * priv; | ValaInterfacePrivate * priv; | |||
}; | }; | |||
struct _ValaInterfaceClass { | struct _ValaInterfaceClass { | |||
ValaDataTypeClass parent; | ValaTypesymbolClass parent_class; | |||
}; | }; | |||
ValaInterface* vala_interface_new (const char* name, ValaSourceReference* s ource_reference); | ValaInterface* vala_interface_new (const char* name, ValaSourceReference* s ource_reference); | |||
void vala_interface_add_type_parameter (ValaInterface* self, ValaTypeParame ter* p); | void vala_interface_add_type_parameter (ValaInterface* self, ValaTypeParame ter* p); | |||
GeeCollection* vala_interface_get_type_parameters (ValaInterface* self); | GeeCollection* vala_interface_get_type_parameters (ValaInterface* self); | |||
void vala_interface_add_prerequisite (ValaInterface* self, ValaTypeReferenc | void vala_interface_add_prerequisite (ValaInterface* self, ValaDataType* ty | |||
e* type); | pe); | |||
void vala_interface_prepend_prerequisite (ValaInterface* self, ValaTypeRefe | void vala_interface_prepend_prerequisite (ValaInterface* self, ValaDataType | |||
rence* type); | * type); | |||
GeeCollection* vala_interface_get_prerequisites (ValaInterface* self); | GeeCollection* vala_interface_get_prerequisites (ValaInterface* self); | |||
void vala_interface_add_method (ValaInterface* self, ValaMethod* m); | void vala_interface_add_method (ValaInterface* self, ValaMethod* m); | |||
GeeCollection* vala_interface_get_methods (ValaInterface* self); | GeeCollection* vala_interface_get_methods (ValaInterface* self); | |||
void vala_interface_add_field (ValaInterface* self, ValaField* f); | void vala_interface_add_field (ValaInterface* self, ValaField* f); | |||
GeeCollection* vala_interface_get_fields (ValaInterface* self); | GeeCollection* vala_interface_get_fields (ValaInterface* self); | |||
void vala_interface_add_property (ValaInterface* self, ValaProperty* prop); | void vala_interface_add_property (ValaInterface* self, ValaProperty* prop); | |||
GeeCollection* vala_interface_get_properties (ValaInterface* self); | GeeCollection* vala_interface_get_properties (ValaInterface* self); | |||
void vala_interface_add_signal (ValaInterface* self, ValaSignal* sig); | void vala_interface_add_signal (ValaInterface* self, ValaSignal* sig); | |||
GeeCollection* vala_interface_get_signals (ValaInterface* self); | GeeCollection* vala_interface_get_signals (ValaInterface* self); | |||
char* vala_interface_get_lower_case_csuffix (ValaInterface* self); | char* vala_interface_get_lower_case_csuffix (ValaInterface* self); | |||
End of changes. 5 change blocks. | ||||
8 lines changed or deleted | 8 lines changed or added | |||
valainterfaceregisterfunction.h | valainterfaceregisterfunction.h | |||
---|---|---|---|---|
skipping to change at line 30 | skipping to change at line 30 | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
* Raffaele Sandrini <rasa@gmx.ch> | * Raffaele Sandrini <rasa@gmx.ch> | |||
*/ | */ | |||
#ifndef __GOBJECT_VALAINTERFACEREGISTERFUNCTION_H__ | #ifndef __GOBJECT_VALAINTERFACEREGISTERFUNCTION_H__ | |||
#define __GOBJECT_VALAINTERFACEREGISTERFUNCTION_H__ | #define __GOBJECT_VALAINTERFACEREGISTERFUNCTION_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valainterface.h> | #include <vala/valainterface.h> | |||
#include <vala/valadatatype.h> | #include <vala/valatypesymbol.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <vala/valasymbol.h> | #include <vala/valasymbol.h> | |||
#include <ccode/valaccodefragment.h> | #include <ccode/valaccodefragment.h> | |||
#include <gobject/valatyperegisterfunction.h> | #include <gobject/valatyperegisterfunction.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_INTERFACE_REGISTER_FUNCTION (vala_interface_register_func tion_get_type ()) | #define VALA_TYPE_INTERFACE_REGISTER_FUNCTION (vala_interface_register_func tion_get_type ()) | |||
#define VALA_INTERFACE_REGISTER_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ( (obj), VALA_TYPE_INTERFACE_REGISTER_FUNCTION, ValaInterfaceRegisterFunction )) | #define VALA_INTERFACE_REGISTER_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ( (obj), VALA_TYPE_INTERFACE_REGISTER_FUNCTION, ValaInterfaceRegisterFunction )) | |||
skipping to change at line 54 | skipping to change at line 54 | |||
#define VALA_INTERFACE_REGISTER_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GE T_CLASS ((obj), VALA_TYPE_INTERFACE_REGISTER_FUNCTION, ValaInterfaceRegiste rFunctionClass)) | #define VALA_INTERFACE_REGISTER_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GE T_CLASS ((obj), VALA_TYPE_INTERFACE_REGISTER_FUNCTION, ValaInterfaceRegiste rFunctionClass)) | |||
typedef struct _ValaInterfaceRegisterFunction ValaInterfaceRegisterFunction ; | typedef struct _ValaInterfaceRegisterFunction ValaInterfaceRegisterFunction ; | |||
typedef struct _ValaInterfaceRegisterFunctionClass ValaInterfaceRegisterFun ctionClass; | typedef struct _ValaInterfaceRegisterFunctionClass ValaInterfaceRegisterFun ctionClass; | |||
typedef struct _ValaInterfaceRegisterFunctionPrivate ValaInterfaceRegisterF unctionPrivate; | typedef struct _ValaInterfaceRegisterFunctionPrivate ValaInterfaceRegisterF unctionPrivate; | |||
/** | /** | |||
* C function to register an interface at runtime. | * C function to register an interface at runtime. | |||
*/ | */ | |||
struct _ValaInterfaceRegisterFunction { | struct _ValaInterfaceRegisterFunction { | |||
ValaTypeRegisterFunction parent; | ValaTypeRegisterFunction parent_instance; | |||
ValaInterfaceRegisterFunctionPrivate * priv; | ValaInterfaceRegisterFunctionPrivate * priv; | |||
}; | }; | |||
struct _ValaInterfaceRegisterFunctionClass { | struct _ValaInterfaceRegisterFunctionClass { | |||
ValaTypeRegisterFunctionClass parent; | ValaTypeRegisterFunctionClass parent_class; | |||
}; | }; | |||
ValaInterfaceRegisterFunction* vala_interface_register_function_new (ValaIn terface* iface); | ValaInterfaceRegisterFunction* vala_interface_register_function_new (ValaIn terface* iface); | |||
ValaInterface* vala_interface_register_function_get_interface_reference (Va laInterfaceRegisterFunction* self); | ValaInterface* vala_interface_register_function_get_interface_reference (Va laInterfaceRegisterFunction* self); | |||
void vala_interface_register_function_set_interface_reference (ValaInterfac eRegisterFunction* self, ValaInterface* value); | void vala_interface_register_function_set_interface_reference (ValaInterfac eRegisterFunction* self, ValaInterface* value); | |||
GType vala_interface_register_function_get_type (void); | GType vala_interface_register_function_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
valainterfacewriter.h | valainterfacewriter.h | |||
---|---|---|---|---|
/* valainterfacewriter.vala | /* valainterfacewriter.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter, Raffaele Sandrini | * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 41 | skipping to change at line 41 | |||
#include <vala/valacodevisitor.h> | #include <vala/valacodevisitor.h> | |||
#include <vala/valacodecontext.h> | #include <vala/valacodecontext.h> | |||
#include <vala/valanamespace.h> | #include <vala/valanamespace.h> | |||
#include <vala/valaclass.h> | #include <vala/valaclass.h> | |||
#include <vala/valastruct.h> | #include <vala/valastruct.h> | |||
#include <vala/valainterface.h> | #include <vala/valainterface.h> | |||
#include <vala/valaenum.h> | #include <vala/valaenum.h> | |||
#include <vala/valaenumvalue.h> | #include <vala/valaenumvalue.h> | |||
#include <vala/valaconstant.h> | #include <vala/valaconstant.h> | |||
#include <vala/valafield.h> | #include <vala/valafield.h> | |||
#include <vala/valacallback.h> | #include <vala/valadelegate.h> | |||
#include <vala/valamethod.h> | #include <vala/valamethod.h> | |||
#include <vala/valacreationmethod.h> | #include <vala/valacreationmethod.h> | |||
#include <vala/valaproperty.h> | #include <vala/valaproperty.h> | |||
#include <vala/valasignal.h> | #include <vala/valasignal.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_INTERFACE_WRITER (vala_interface_writer_get_type ()) | #define VALA_TYPE_INTERFACE_WRITER (vala_interface_writer_get_type ()) | |||
#define VALA_INTERFACE_WRITER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_INTERFACE_WRITER, ValaInterfaceWriter)) | #define VALA_INTERFACE_WRITER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA _TYPE_INTERFACE_WRITER, ValaInterfaceWriter)) | |||
#define VALA_INTERFACE_WRITER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_INTERFACE_WRITER, ValaInterfaceWriterClass)) | #define VALA_INTERFACE_WRITER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass ), VALA_TYPE_INTERFACE_WRITER, ValaInterfaceWriterClass)) | |||
skipping to change at line 64 | skipping to change at line 64 | |||
#define VALA_INTERFACE_WRITER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_INTERFACE_WRITER, ValaInterfaceWriterClass)) | #define VALA_INTERFACE_WRITER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_INTERFACE_WRITER, ValaInterfaceWriterClass)) | |||
typedef struct _ValaInterfaceWriter ValaInterfaceWriter; | typedef struct _ValaInterfaceWriter ValaInterfaceWriter; | |||
typedef struct _ValaInterfaceWriterClass ValaInterfaceWriterClass; | typedef struct _ValaInterfaceWriterClass ValaInterfaceWriterClass; | |||
typedef struct _ValaInterfaceWriterPrivate ValaInterfaceWriterPrivate; | typedef struct _ValaInterfaceWriterPrivate ValaInterfaceWriterPrivate; | |||
/** | /** | |||
* Code visitor generating Vala API file for the public interface. | * Code visitor generating Vala API file for the public interface. | |||
*/ | */ | |||
struct _ValaInterfaceWriter { | struct _ValaInterfaceWriter { | |||
ValaCodeVisitor parent; | ValaCodeVisitor parent_instance; | |||
ValaInterfaceWriterPrivate * priv; | ValaInterfaceWriterPrivate * priv; | |||
}; | }; | |||
struct _ValaInterfaceWriterClass { | struct _ValaInterfaceWriterClass { | |||
ValaCodeVisitorClass parent; | ValaCodeVisitorClass parent_class; | |||
}; | }; | |||
void vala_interface_writer_write_file (ValaInterfaceWriter* self, ValaCodeC ontext* context, const char* filename); | void vala_interface_writer_write_file (ValaInterfaceWriter* self, ValaCodeC ontext* context, const char* filename); | |||
ValaInterfaceWriter* vala_interface_writer_new (void); | ValaInterfaceWriter* vala_interface_writer_new (void); | |||
GType vala_interface_writer_get_type (void); | GType vala_interface_writer_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 4 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
valainvocationexpression.h | valainvocationexpression.h | |||
---|---|---|---|---|
/* valainvocationexpression.vala | /* valainvocationexpression.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 49 | skipping to change at line 49 | |||
#define VALA_IS_INVOCATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob j), VALA_TYPE_INVOCATION_EXPRESSION)) | #define VALA_IS_INVOCATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob j), VALA_TYPE_INVOCATION_EXPRESSION)) | |||
#define VALA_IS_INVOCATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_INVOCATION_EXPRESSION)) | #define VALA_IS_INVOCATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_INVOCATION_EXPRESSION)) | |||
#define VALA_INVOCATION_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_INVOCATION_EXPRESSION, ValaInvocationExpressionClass)) | #define VALA_INVOCATION_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS S ((obj), VALA_TYPE_INVOCATION_EXPRESSION, ValaInvocationExpressionClass)) | |||
typedef struct _ValaInvocationExpressionPrivate ValaInvocationExpressionPri vate; | typedef struct _ValaInvocationExpressionPrivate ValaInvocationExpressionPri vate; | |||
/** | /** | |||
* Represents an invocation expression in the source code. | * Represents an invocation expression in the source code. | |||
*/ | */ | |||
struct _ValaInvocationExpression { | struct _ValaInvocationExpression { | |||
ValaExpression parent; | ValaExpression parent_instance; | |||
ValaInvocationExpressionPrivate * priv; | ValaInvocationExpressionPrivate * priv; | |||
ValaExpression* _call; | ValaExpression* _call; | |||
}; | }; | |||
struct _ValaInvocationExpressionClass { | struct _ValaInvocationExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent_class; | |||
}; | }; | |||
ValaInvocationExpression* vala_invocation_expression_new (ValaExpression* c all, ValaSourceReference* source_reference); | ValaInvocationExpression* vala_invocation_expression_new (ValaExpression* c all, ValaSourceReference* source_reference); | |||
void vala_invocation_expression_add_argument (ValaInvocationExpression* sel f, ValaExpression* arg); | void vala_invocation_expression_add_argument (ValaInvocationExpression* sel f, ValaExpression* arg); | |||
GeeCollection* vala_invocation_expression_get_argument_list (ValaInvocation Expression* self); | GeeCollection* vala_invocation_expression_get_argument_list (ValaInvocation Expression* self); | |||
void vala_invocation_expression_append_array_size (ValaInvocationExpression * self, ValaCCodeExpression* size); | void vala_invocation_expression_append_array_size (ValaInvocationExpression * self, ValaCCodeExpression* size); | |||
GeeList* vala_invocation_expression_get_array_sizes (ValaInvocationExpressi on* self); | GeeList* vala_invocation_expression_get_array_sizes (ValaInvocationExpressi on* self); | |||
ValaExpression* vala_invocation_expression_get_call (ValaInvocationExpressi on* self); | ValaExpression* vala_invocation_expression_get_call (ValaInvocationExpressi on* self); | |||
void vala_invocation_expression_set_call (ValaInvocationExpression* self, V alaExpression* value); | void vala_invocation_expression_set_call (ValaInvocationExpression* self, V alaExpression* value); | |||
ValaCCodeExpression* vala_invocation_expression_get_delegate_target (ValaIn | ||||
vocationExpression* self); | ||||
void vala_invocation_expression_set_delegate_target (ValaInvocationExpressi | ||||
on* self, ValaCCodeExpression* value); | ||||
GType vala_invocation_expression_get_type (void); | GType vala_invocation_expression_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 4 change blocks. | ||||
3 lines changed or deleted | 7 lines changed or added | |||
valalambdaexpression.h | valalambdaexpression.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
#define VALA_IS_LAMBDA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_LAMBDA_EXPRESSION)) | #define VALA_IS_LAMBDA_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_LAMBDA_EXPRESSION)) | |||
#define VALA_LAMBDA_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_LAMBDA_EXPRESSION, ValaLambdaExpressionClass)) | #define VALA_LAMBDA_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_LAMBDA_EXPRESSION, ValaLambdaExpressionClass)) | |||
typedef struct _ValaLambdaExpressionPrivate ValaLambdaExpressionPrivate; | typedef struct _ValaLambdaExpressionPrivate ValaLambdaExpressionPrivate; | |||
/** | /** | |||
* Represents a lambda expression in the source code. Lambda expressions ar e | * Represents a lambda expression in the source code. Lambda expressions ar e | |||
* anonymous methods with implicitly typed parameters. | * anonymous methods with implicitly typed parameters. | |||
*/ | */ | |||
struct _ValaLambdaExpression { | struct _ValaLambdaExpression { | |||
ValaExpression parent; | ValaExpression parent_instance; | |||
ValaLambdaExpressionPrivate * priv; | ValaLambdaExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaLambdaExpressionClass { | struct _ValaLambdaExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent_class; | |||
}; | }; | |||
ValaLambdaExpression* vala_lambda_expression_new (ValaExpression* expressio n_body, ValaSourceReference* source_reference); | ValaLambdaExpression* vala_lambda_expression_new (ValaExpression* expressio n_body, ValaSourceReference* source_reference); | |||
ValaLambdaExpression* vala_lambda_expression_new_with_statement_body (ValaB lock* statement_body, ValaSourceReference* source_reference); | ValaLambdaExpression* vala_lambda_expression_new_with_statement_body (ValaB lock* statement_body, ValaSourceReference* source_reference); | |||
void vala_lambda_expression_add_parameter (ValaLambdaExpression* self, cons t char* param); | void vala_lambda_expression_add_parameter (ValaLambdaExpression* self, cons t char* param); | |||
GeeCollection* vala_lambda_expression_get_parameters (ValaLambdaExpression* self); | GeeCollection* vala_lambda_expression_get_parameters (ValaLambdaExpression* self); | |||
ValaExpression* vala_lambda_expression_get_expression_body (ValaLambdaExpre ssion* self); | ValaExpression* vala_lambda_expression_get_expression_body (ValaLambdaExpre ssion* self); | |||
void vala_lambda_expression_set_expression_body (ValaLambdaExpression* self , ValaExpression* value); | void vala_lambda_expression_set_expression_body (ValaLambdaExpression* self , ValaExpression* value); | |||
ValaBlock* vala_lambda_expression_get_statement_body (ValaLambdaExpression* self); | ValaBlock* vala_lambda_expression_get_statement_body (ValaLambdaExpression* self); | |||
void vala_lambda_expression_set_statement_body (ValaLambdaExpression* self, ValaBlock* value); | void vala_lambda_expression_set_statement_body (ValaLambdaExpression* self, ValaBlock* value); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaliteral.h | valaliteral.h | |||
---|---|---|---|---|
skipping to change at line 45 | skipping to change at line 45 | |||
#define VALA_IS_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ LITERAL)) | #define VALA_IS_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ LITERAL)) | |||
#define VALA_IS_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VAL A_TYPE_LITERAL)) | #define VALA_IS_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VAL A_TYPE_LITERAL)) | |||
#define VALA_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA _TYPE_LITERAL, ValaLiteralClass)) | #define VALA_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA _TYPE_LITERAL, ValaLiteralClass)) | |||
typedef struct _ValaLiteralPrivate ValaLiteralPrivate; | typedef struct _ValaLiteralPrivate ValaLiteralPrivate; | |||
/** | /** | |||
* Base class for all literals in the source code. | * Base class for all literals in the source code. | |||
*/ | */ | |||
struct _ValaLiteral { | struct _ValaLiteral { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaLiteralPrivate * priv; | ValaLiteralPrivate * priv; | |||
}; | }; | |||
struct _ValaLiteralClass { | struct _ValaLiteralClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaTypeReference* vala_literal_get_static_type (ValaLiteral* self); | ValaDataType* vala_literal_get_static_type (ValaLiteral* self); | |||
void vala_literal_set_static_type (ValaLiteral* self, ValaTypeReference* va | void vala_literal_set_static_type (ValaLiteral* self, ValaDataType* value); | |||
lue); | ||||
GType vala_literal_get_type (void); | GType vala_literal_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 3 change blocks. | ||||
5 lines changed or deleted | 4 lines changed or added | |||
valaliteralexpression.h | valaliteralexpression.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_IS_LITERAL_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_LITERAL_EXPRESSION)) | #define VALA_IS_LITERAL_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_LITERAL_EXPRESSION)) | |||
#define VALA_IS_LITERAL_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( klass), VALA_TYPE_LITERAL_EXPRESSION)) | #define VALA_IS_LITERAL_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( klass), VALA_TYPE_LITERAL_EXPRESSION)) | |||
#define VALA_LITERAL_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_LITERAL_EXPRESSION, ValaLiteralExpressionClass)) | #define VALA_LITERAL_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_LITERAL_EXPRESSION, ValaLiteralExpressionClass)) | |||
typedef struct _ValaLiteralExpressionPrivate ValaLiteralExpressionPrivate; | typedef struct _ValaLiteralExpressionPrivate ValaLiteralExpressionPrivate; | |||
/** | /** | |||
* Represents a literal expression in the source code. | * Represents a literal expression in the source code. | |||
*/ | */ | |||
struct _ValaLiteralExpression { | struct _ValaLiteralExpression { | |||
ValaExpression parent; | ValaExpression parent_instance; | |||
ValaLiteralExpressionPrivate * priv; | ValaLiteralExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaLiteralExpressionClass { | struct _ValaLiteralExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent_class; | |||
}; | }; | |||
ValaLiteralExpression* vala_literal_expression_new (ValaLiteral* _literal, ValaSourceReference* source); | ValaLiteralExpression* vala_literal_expression_new (ValaLiteral* _literal, ValaSourceReference* source); | |||
ValaLiteral* vala_literal_expression_get_literal (ValaLiteralExpression* se lf); | ValaLiteral* vala_literal_expression_get_literal (ValaLiteralExpression* se lf); | |||
void vala_literal_expression_set_literal (ValaLiteralExpression* self, Vala Literal* value); | ||||
GType vala_literal_expression_get_type (void); | GType vala_literal_expression_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 2 lines changed or added | |||
valalocalvariabledeclaration.h | valalocalvariabledeclaration.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_LOCAL_VARIABLE_DECLARATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_LOCAL_VARIABLE_DECLARATION)) | #define VALA_IS_LOCAL_VARIABLE_DECLARATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_LOCAL_VARIABLE_DECLARATION)) | |||
#define VALA_IS_LOCAL_VARIABLE_DECLARATION_CLASS(klass) (G_TYPE_CHECK_CLASS _TYPE ((klass), VALA_TYPE_LOCAL_VARIABLE_DECLARATION)) | #define VALA_IS_LOCAL_VARIABLE_DECLARATION_CLASS(klass) (G_TYPE_CHECK_CLASS _TYPE ((klass), VALA_TYPE_LOCAL_VARIABLE_DECLARATION)) | |||
#define VALA_LOCAL_VARIABLE_DECLARATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET _CLASS ((obj), VALA_TYPE_LOCAL_VARIABLE_DECLARATION, ValaLocalVariableDecla rationClass)) | #define VALA_LOCAL_VARIABLE_DECLARATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET _CLASS ((obj), VALA_TYPE_LOCAL_VARIABLE_DECLARATION, ValaLocalVariableDecla rationClass)) | |||
typedef struct _ValaLocalVariableDeclarationPrivate ValaLocalVariableDeclar ationPrivate; | typedef struct _ValaLocalVariableDeclarationPrivate ValaLocalVariableDeclar ationPrivate; | |||
/** | /** | |||
* Represents a local variable declaration in the source code. | * Represents a local variable declaration in the source code. | |||
*/ | */ | |||
struct _ValaLocalVariableDeclaration { | struct _ValaLocalVariableDeclaration { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaLocalVariableDeclarationPrivate * priv; | ValaLocalVariableDeclarationPrivate * priv; | |||
}; | }; | |||
struct _ValaLocalVariableDeclarationClass { | struct _ValaLocalVariableDeclarationClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaLocalVariableDeclaration* vala_local_variable_declaration_new (ValaType Reference* type_reference, ValaSourceReference* source_reference); | ValaLocalVariableDeclaration* vala_local_variable_declaration_new (ValaData Type* type_reference, ValaSourceReference* source_reference); | |||
ValaLocalVariableDeclaration* vala_local_variable_declaration_new_var_type (ValaSourceReference* source_reference); | ValaLocalVariableDeclaration* vala_local_variable_declaration_new_var_type (ValaSourceReference* source_reference); | |||
void vala_local_variable_declaration_add_declarator (ValaLocalVariableDecla ration* self, ValaVariableDeclarator* declarator); | void vala_local_variable_declaration_add_declarator (ValaLocalVariableDecla ration* self, ValaVariableDeclarator* declarator); | |||
GeeCollection* vala_local_variable_declaration_get_variable_declarators (Va laLocalVariableDeclaration* self); | GeeCollection* vala_local_variable_declaration_get_variable_declarators (Va laLocalVariableDeclaration* self); | |||
ValaTypeReference* vala_local_variable_declaration_get_type_reference (Vala | ValaDataType* vala_local_variable_declaration_get_type_reference (ValaLocal | |||
LocalVariableDeclaration* self); | VariableDeclaration* self); | |||
void vala_local_variable_declaration_set_type_reference (ValaLocalVariableD | void vala_local_variable_declaration_set_type_reference (ValaLocalVariableD | |||
eclaration* self, ValaTypeReference* value); | eclaration* self, ValaDataType* value); | |||
GType vala_local_variable_declaration_get_type (void); | GType vala_local_variable_declaration_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 4 change blocks. | ||||
7 lines changed or deleted | 7 lines changed or added | |||
valalockable.h | valalockable.h | |||
---|---|---|---|---|
skipping to change at line 44 | skipping to change at line 44 | |||
#define VALA_IS_LOCKABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE _LOCKABLE)) | #define VALA_IS_LOCKABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE _LOCKABLE)) | |||
#define VALA_LOCKABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((o bj), VALA_TYPE_LOCKABLE, ValaLockableIface)) | #define VALA_LOCKABLE_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((o bj), VALA_TYPE_LOCKABLE, ValaLockableIface)) | |||
typedef struct _ValaLockable ValaLockable; | typedef struct _ValaLockable ValaLockable; | |||
typedef struct _ValaLockableIface ValaLockableIface; | typedef struct _ValaLockableIface ValaLockableIface; | |||
/** | /** | |||
* Represents a lockable object. | * Represents a lockable object. | |||
*/ | */ | |||
struct _ValaLockableIface { | struct _ValaLockableIface { | |||
GTypeInterface parent; | GTypeInterface parent_iface; | |||
gboolean (*get_lock_used) (ValaLockable* self); | gboolean (*get_lock_used) (ValaLockable* self); | |||
void (*set_lock_used) (ValaLockable* self, gboolean used); | void (*set_lock_used) (ValaLockable* self, gboolean used); | |||
}; | }; | |||
gboolean vala_lockable_get_lock_used (ValaLockable* self); | gboolean vala_lockable_get_lock_used (ValaLockable* self); | |||
void vala_lockable_set_lock_used (ValaLockable* self, gboolean used); | void vala_lockable_set_lock_used (ValaLockable* self, gboolean used); | |||
GType vala_lockable_get_type (void); | GType vala_lockable_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valalockstatement.h | valalockstatement.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_LOCK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_LOCK_STATEMENT)) | #define VALA_IS_LOCK_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_LOCK_STATEMENT)) | |||
#define VALA_IS_LOCK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_LOCK_STATEMENT)) | #define VALA_IS_LOCK_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_LOCK_STATEMENT)) | |||
#define VALA_LOCK_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_LOCK_STATEMENT, ValaLockStatementClass)) | #define VALA_LOCK_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_LOCK_STATEMENT, ValaLockStatementClass)) | |||
typedef struct _ValaLockStatementPrivate ValaLockStatementPrivate; | typedef struct _ValaLockStatementPrivate ValaLockStatementPrivate; | |||
/** | /** | |||
* Represents a lock statement e.g. "lock (a) { f(a) }". | * Represents a lock statement e.g. "lock (a) { f(a) }". | |||
*/ | */ | |||
struct _ValaLockStatement { | struct _ValaLockStatement { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaLockStatementPrivate * priv; | ValaLockStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaLockStatementClass { | struct _ValaLockStatementClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaLockStatement* vala_lock_statement_new (ValaExpression* resource, ValaB lock* body, ValaSourceReference* source_reference); | ValaLockStatement* vala_lock_statement_new (ValaExpression* resource, ValaB lock* body, ValaSourceReference* source_reference); | |||
ValaExpression* vala_lock_statement_get_resource (ValaLockStatement* self); | ValaExpression* vala_lock_statement_get_resource (ValaLockStatement* self); | |||
void vala_lock_statement_set_resource (ValaLockStatement* self, ValaExpress ion* value); | void vala_lock_statement_set_resource (ValaLockStatement* self, ValaExpress ion* value); | |||
ValaBlock* vala_lock_statement_get_body (ValaLockStatement* self); | ValaBlock* vala_lock_statement_get_body (ValaLockStatement* self); | |||
void vala_lock_statement_set_body (ValaLockStatement* self, ValaBlock* valu e); | void vala_lock_statement_set_body (ValaLockStatement* self, ValaBlock* valu e); | |||
GType vala_lock_statement_get_type (void); | GType vala_lock_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valamember.h | valamember.h | |||
---|---|---|---|---|
skipping to change at line 49 | skipping to change at line 49 | |||
#define VALA_IS_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_M EMBER)) | #define VALA_IS_MEMBER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_M EMBER)) | |||
#define VALA_IS_MEMBER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_MEMBER)) | #define VALA_IS_MEMBER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_MEMBER)) | |||
#define VALA_MEMBER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_MEMBER, ValaMemberClass)) | #define VALA_MEMBER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_MEMBER, ValaMemberClass)) | |||
typedef struct _ValaMemberPrivate ValaMemberPrivate; | typedef struct _ValaMemberPrivate ValaMemberPrivate; | |||
/** | /** | |||
* Represents a general class member. | * Represents a general class member. | |||
*/ | */ | |||
struct _ValaMember { | struct _ValaMember { | |||
ValaSymbol parent; | ValaSymbol parent_instance; | |||
ValaMemberPrivate * priv; | ValaMemberPrivate * priv; | |||
}; | }; | |||
struct _ValaMemberClass { | struct _ValaMemberClass { | |||
ValaSymbolClass parent; | ValaSymbolClass parent_class; | |||
}; | }; | |||
void vala_member_add_cheader_filename (ValaMember* self, const char* filena me); | void vala_member_add_cheader_filename (ValaMember* self, const char* filena me); | |||
ValaMember* vala_member_new (void); | ValaMember* vala_member_new (void); | |||
GType vala_member_get_type (void); | GType vala_member_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valamemberaccess.h | valamemberaccess.h | |||
---|---|---|---|---|
skipping to change at line 49 | skipping to change at line 49 | |||
#define VALA_IS_MEMBER_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA _TYPE_MEMBER_ACCESS)) | #define VALA_IS_MEMBER_ACCESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA _TYPE_MEMBER_ACCESS)) | |||
#define VALA_IS_MEMBER_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), VALA_TYPE_MEMBER_ACCESS)) | #define VALA_IS_MEMBER_ACCESS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), VALA_TYPE_MEMBER_ACCESS)) | |||
#define VALA_MEMBER_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_MEMBER_ACCESS, ValaMemberAccessClass)) | #define VALA_MEMBER_ACCESS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_MEMBER_ACCESS, ValaMemberAccessClass)) | |||
typedef struct _ValaMemberAccessPrivate ValaMemberAccessPrivate; | typedef struct _ValaMemberAccessPrivate ValaMemberAccessPrivate; | |||
/** | /** | |||
* Represents an access to a type member in the source code. | * Represents an access to a type member in the source code. | |||
*/ | */ | |||
struct _ValaMemberAccess { | struct _ValaMemberAccess { | |||
ValaExpression parent; | ValaExpression parent_instance; | |||
ValaMemberAccessPrivate * priv; | ValaMemberAccessPrivate * priv; | |||
}; | }; | |||
struct _ValaMemberAccessClass { | struct _ValaMemberAccessClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent_class; | |||
}; | }; | |||
ValaMemberAccess* vala_member_access_new (ValaExpression* inner, const char * member_name, ValaSourceReference* source_reference); | ValaMemberAccess* vala_member_access_new (ValaExpression* inner, const char * member_name, ValaSourceReference* source_reference); | |||
ValaMemberAccess* vala_member_access_new_simple (const char* member_name, V alaSourceReference* source_reference); | ValaMemberAccess* vala_member_access_new_simple (const char* member_name, V alaSourceReference* source_reference); | |||
void vala_member_access_add_type_argument (ValaMemberAccess* self, ValaType | ValaMemberAccess* vala_member_access_new_pointer (ValaExpression* inner, co | |||
Reference* arg); | nst char* member_name, ValaSourceReference* source_reference); | |||
void vala_member_access_add_type_argument (ValaMemberAccess* self, ValaData | ||||
Type* arg); | ||||
GeeCollection* vala_member_access_get_type_arguments (ValaMemberAccess* sel f); | GeeCollection* vala_member_access_get_type_arguments (ValaMemberAccess* sel f); | |||
ValaExpression* vala_member_access_get_inner (ValaMemberAccess* self); | ValaExpression* vala_member_access_get_inner (ValaMemberAccess* self); | |||
void vala_member_access_set_inner (ValaMemberAccess* self, ValaExpression* value); | void vala_member_access_set_inner (ValaMemberAccess* self, ValaExpression* value); | |||
char* vala_member_access_get_member_name (ValaMemberAccess* self); | char* vala_member_access_get_member_name (ValaMemberAccess* self); | |||
void vala_member_access_set_member_name (ValaMemberAccess* self, const char * value); | void vala_member_access_set_member_name (ValaMemberAccess* self, const char * value); | |||
gboolean vala_member_access_get_pointer_member_access (ValaMemberAccess* se | ||||
lf); | ||||
void vala_member_access_set_pointer_member_access (ValaMemberAccess* self, | ||||
gboolean value); | ||||
gboolean vala_member_access_get_prototype_access (ValaMemberAccess* self); | gboolean vala_member_access_get_prototype_access (ValaMemberAccess* self); | |||
void vala_member_access_set_prototype_access (ValaMemberAccess* self, gbool ean value); | void vala_member_access_set_prototype_access (ValaMemberAccess* self, gbool ean value); | |||
gboolean vala_member_access_get_creation_member (ValaMemberAccess* self); | ||||
void vala_member_access_set_creation_member (ValaMemberAccess* self, gboole | ||||
an value); | ||||
GType vala_member_access_get_type (void); | GType vala_member_access_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 5 change blocks. | ||||
4 lines changed or deleted | 13 lines changed or added | |||
valamemberinitializer.h | valamemberinitializer.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_IS_MEMBER_INITIALIZER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( klass), VALA_TYPE_MEMBER_INITIALIZER)) | #define VALA_IS_MEMBER_INITIALIZER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( klass), VALA_TYPE_MEMBER_INITIALIZER)) | |||
#define VALA_MEMBER_INITIALIZER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_MEMBER_INITIALIZER, ValaMemberInitializerClass)) | #define VALA_MEMBER_INITIALIZER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_MEMBER_INITIALIZER, ValaMemberInitializerClass)) | |||
typedef struct _ValaMemberInitializerPrivate ValaMemberInitializerPrivate; | typedef struct _ValaMemberInitializerPrivate ValaMemberInitializerPrivate; | |||
/** | /** | |||
* Represents a member initializer, i.e. an element of an object initialize r, in | * Represents a member initializer, i.e. an element of an object initialize r, in | |||
* the source code. | * the source code. | |||
*/ | */ | |||
struct _ValaMemberInitializer { | struct _ValaMemberInitializer { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaMemberInitializerPrivate * priv; | ValaMemberInitializerPrivate * priv; | |||
}; | }; | |||
struct _ValaMemberInitializerClass { | struct _ValaMemberInitializerClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaMemberInitializer* vala_member_initializer_new (const char* name, ValaE xpression* initializer, ValaSourceReference* source_reference); | ValaMemberInitializer* vala_member_initializer_new (const char* name, ValaE xpression* initializer, ValaSourceReference* source_reference); | |||
char* vala_member_initializer_get_name (ValaMemberInitializer* self); | char* vala_member_initializer_get_name (ValaMemberInitializer* self); | |||
void vala_member_initializer_set_name (ValaMemberInitializer* self, const c har* value); | void vala_member_initializer_set_name (ValaMemberInitializer* self, const c har* value); | |||
ValaExpression* vala_member_initializer_get_initializer (ValaMemberInitiali zer* self); | ValaExpression* vala_member_initializer_get_initializer (ValaMemberInitiali zer* self); | |||
void vala_member_initializer_set_initializer (ValaMemberInitializer* self, ValaExpression* value); | void vala_member_initializer_set_initializer (ValaMemberInitializer* self, ValaExpression* value); | |||
ValaSymbol* vala_member_initializer_get_symbol_reference (ValaMemberInitial izer* self); | ValaSymbol* vala_member_initializer_get_symbol_reference (ValaMemberInitial izer* self); | |||
void vala_member_initializer_set_symbol_reference (ValaMemberInitializer* s elf, ValaSymbol* value); | void vala_member_initializer_set_symbol_reference (ValaMemberInitializer* s elf, ValaSymbol* value); | |||
GType vala_member_initializer_get_type (void); | GType vala_member_initializer_get_type (void); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valamemorymanager.h | valamemorymanager.h | |||
---|---|---|---|---|
/* valamemorymanager.vala | /* valamemorymanager.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter, Raffaele Sandrini | * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 79 | skipping to change at line 79 | |||
typedef struct _ValaMemoryManager ValaMemoryManager; | typedef struct _ValaMemoryManager ValaMemoryManager; | |||
typedef struct _ValaMemoryManagerClass ValaMemoryManagerClass; | typedef struct _ValaMemoryManagerClass ValaMemoryManagerClass; | |||
typedef struct _ValaMemoryManagerPrivate ValaMemoryManagerPrivate; | typedef struct _ValaMemoryManagerPrivate ValaMemoryManagerPrivate; | |||
/** | /** | |||
* Code visitor analyzing memory usage. The memory manager finds leaked and | * Code visitor analyzing memory usage. The memory manager finds leaked and | |||
* copied references. | * copied references. | |||
*/ | */ | |||
struct _ValaMemoryManager { | struct _ValaMemoryManager { | |||
ValaCodeVisitor parent; | ValaCodeVisitor parent_instance; | |||
ValaMemoryManagerPrivate * priv; | ValaMemoryManagerPrivate * priv; | |||
}; | }; | |||
struct _ValaMemoryManagerClass { | struct _ValaMemoryManagerClass { | |||
ValaCodeVisitorClass parent; | ValaCodeVisitorClass parent_class; | |||
}; | }; | |||
void vala_memory_manager_analyze (ValaMemoryManager* self, ValaCodeContext* context); | void vala_memory_manager_analyze (ValaMemoryManager* self, ValaCodeContext* context); | |||
ValaMemoryManager* vala_memory_manager_new (void); | ValaMemoryManager* vala_memory_manager_new (void); | |||
GType vala_memory_manager_get_type (void); | GType vala_memory_manager_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
valamethod.h | valamethod.h | |||
---|---|---|---|---|
/* valamethod.vala | /* valamethod.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter, Raffaele Sandrini | * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 33 | skipping to change at line 33 | |||
#ifndef __VALA_VALAMETHOD_H__ | #ifndef __VALA_VALAMETHOD_H__ | |||
#define __VALA_VALAMETHOD_H__ | #define __VALA_VALAMETHOD_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <gee/collection.h> | #include <gee/collection.h> | |||
#include <vala/valamember.h> | #include <vala/valamember.h> | |||
#include <vala/valainvokable.h> | ||||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_METHOD (vala_method_get_type ()) | #define VALA_TYPE_METHOD (vala_method_get_type ()) | |||
#define VALA_METHOD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_METH OD, ValaMethod)) | #define VALA_METHOD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_METH OD, ValaMethod)) | |||
#define VALA_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_METHOD, ValaMethodClass)) | #define VALA_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_METHOD, ValaMethodClass)) | |||
#define VALA_IS_METHOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_M ETHOD)) | #define VALA_IS_METHOD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_M ETHOD)) | |||
#define VALA_IS_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_METHOD)) | #define VALA_IS_METHOD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_METHOD)) | |||
#define VALA_METHOD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_METHOD, ValaMethodClass)) | #define VALA_METHOD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_METHOD, ValaMethodClass)) | |||
typedef struct _ValaMethodPrivate ValaMethodPrivate; | typedef struct _ValaMethodPrivate ValaMethodPrivate; | |||
/** | /** | |||
* Represents a type or namespace method. | * Represents a type or namespace method. | |||
*/ | */ | |||
struct _ValaMethod { | struct _ValaMethod { | |||
ValaMember parent; | ValaMember parent_instance; | |||
ValaMethodPrivate * priv; | ValaMethodPrivate * priv; | |||
}; | }; | |||
struct _ValaMethodClass { | struct _ValaMethodClass { | |||
ValaMemberClass parent; | ValaMemberClass parent_class; | |||
char* (*get_default_cname) (ValaMethod* self); | char* (*get_default_cname) (ValaMethod* self); | |||
}; | }; | |||
#define VALA_METHOD_DEFAULT_SENTINEL "NULL" | #define VALA_METHOD_DEFAULT_SENTINEL "NULL" | |||
ValaMethod* vala_method_new (const char* name, ValaTypeReference* return_ty pe, ValaSourceReference* source_reference); | ValaMethod* vala_method_new (const char* name, ValaDataType* return_type, V alaSourceReference* source_reference); | |||
void vala_method_add_parameter (ValaMethod* self, ValaFormalParameter* para m); | void vala_method_add_parameter (ValaMethod* self, ValaFormalParameter* para m); | |||
GeeCollection* vala_method_get_parameters (ValaMethod* self); | ||||
char* vala_method_get_cname (ValaMethod* self); | char* vala_method_get_cname (ValaMethod* self); | |||
char* vala_method_get_default_cname (ValaMethod* self); | char* vala_method_get_default_cname (ValaMethod* self); | |||
char* vala_method_get_real_cname (ValaMethod* self); | char* vala_method_get_real_cname (ValaMethod* self); | |||
void vala_method_set_cname (ValaMethod* self, const char* cname); | void vala_method_set_cname (ValaMethod* self, const char* cname); | |||
void vala_method_process_attributes (ValaMethod* self); | void vala_method_process_attributes (ValaMethod* self); | |||
gboolean vala_method_equals (ValaMethod* self, ValaMethod* m2); | gboolean vala_method_equals (ValaMethod* self, ValaMethod* m2); | |||
void vala_method_add_error_domain (ValaMethod* self, ValaTypeReference* err or_domain); | void vala_method_add_error_domain (ValaMethod* self, ValaDataType* error_do main); | |||
GeeCollection* vala_method_get_error_domains (ValaMethod* self); | GeeCollection* vala_method_get_error_domains (ValaMethod* self); | |||
ValaTypeReference* vala_method_get_return_type (ValaMethod* self); | void vala_method_add_precondition (ValaMethod* self, ValaExpression* precon | |||
void vala_method_set_return_type (ValaMethod* self, ValaTypeReference* valu | dition); | |||
e); | GeeCollection* vala_method_get_preconditions (ValaMethod* self); | |||
void vala_method_add_postcondition (ValaMethod* self, ValaExpression* postc | ||||
ondition); | ||||
GeeCollection* vala_method_get_postconditions (ValaMethod* self); | ||||
ValaDataType* vala_method_get_return_type (ValaMethod* self); | ||||
void vala_method_set_return_type (ValaMethod* self, ValaDataType* value); | ||||
ValaBlock* vala_method_get_body (ValaMethod* self); | ValaBlock* vala_method_get_body (ValaMethod* self); | |||
void vala_method_set_body (ValaMethod* self, ValaBlock* value); | void vala_method_set_body (ValaMethod* self, ValaBlock* value); | |||
gboolean vala_method_get_instance (ValaMethod* self); | gboolean vala_method_get_instance (ValaMethod* self); | |||
void vala_method_set_instance (ValaMethod* self, gboolean value); | void vala_method_set_instance (ValaMethod* self, gboolean value); | |||
char* vala_method_get_vfunc_name (ValaMethod* self); | char* vala_method_get_vfunc_name (ValaMethod* self); | |||
void vala_method_set_vfunc_name (ValaMethod* self, const char* value); | void vala_method_set_vfunc_name (ValaMethod* self, const char* value); | |||
char* vala_method_get_sentinel (ValaMethod* self); | char* vala_method_get_sentinel (ValaMethod* self); | |||
void vala_method_set_sentinel (ValaMethod* self, const char* value); | void vala_method_set_sentinel (ValaMethod* self, const char* value); | |||
gboolean vala_method_get_is_abstract (ValaMethod* self); | gboolean vala_method_get_is_abstract (ValaMethod* self); | |||
void vala_method_set_is_abstract (ValaMethod* self, gboolean value); | void vala_method_set_is_abstract (ValaMethod* self, gboolean value); | |||
gboolean vala_method_get_is_virtual (ValaMethod* self); | gboolean vala_method_get_is_virtual (ValaMethod* self); | |||
void vala_method_set_is_virtual (ValaMethod* self, gboolean value); | void vala_method_set_is_virtual (ValaMethod* self, gboolean value); | |||
gboolean vala_method_get_overrides (ValaMethod* self); | gboolean vala_method_get_overrides (ValaMethod* self); | |||
void vala_method_set_overrides (ValaMethod* self, gboolean value); | void vala_method_set_overrides (ValaMethod* self, gboolean value); | |||
gboolean vala_method_get_is_inline (ValaMethod* self); | ||||
void vala_method_set_is_inline (ValaMethod* self, gboolean value); | ||||
gboolean vala_method_get_returns_modified_pointer (ValaMethod* self); | gboolean vala_method_get_returns_modified_pointer (ValaMethod* self); | |||
void vala_method_set_returns_modified_pointer (ValaMethod* self, gboolean v alue); | void vala_method_set_returns_modified_pointer (ValaMethod* self, gboolean v alue); | |||
gboolean vala_method_get_instance_last (ValaMethod* self); | gboolean vala_method_get_instance_last (ValaMethod* self); | |||
void vala_method_set_instance_last (ValaMethod* self, gboolean value); | void vala_method_set_instance_last (ValaMethod* self, gboolean value); | |||
ValaMethod* vala_method_get_base_method (ValaMethod* self); | ValaMethod* vala_method_get_base_method (ValaMethod* self); | |||
void vala_method_set_base_method (ValaMethod* self, ValaMethod* value); | void vala_method_set_base_method (ValaMethod* self, ValaMethod* value); | |||
ValaMethod* vala_method_get_base_interface_method (ValaMethod* self); | ValaMethod* vala_method_get_base_interface_method (ValaMethod* self); | |||
void vala_method_set_base_interface_method (ValaMethod* self, ValaMethod* v alue); | void vala_method_set_base_interface_method (ValaMethod* self, ValaMethod* v alue); | |||
ValaFormalParameter* vala_method_get_this_parameter (ValaMethod* self); | ValaFormalParameter* vala_method_get_this_parameter (ValaMethod* self); | |||
void vala_method_set_this_parameter (ValaMethod* self, ValaFormalParameter* value); | void vala_method_set_this_parameter (ValaMethod* self, ValaFormalParameter* value); | |||
ValaVariableDeclarator* vala_method_get_result_var (ValaMethod* self); | ||||
void vala_method_set_result_var (ValaMethod* self, ValaVariableDeclarator* | ||||
value); | ||||
gboolean vala_method_get_no_array_length (ValaMethod* self); | gboolean vala_method_get_no_array_length (ValaMethod* self); | |||
void vala_method_set_no_array_length (ValaMethod* self, gboolean value); | void vala_method_set_no_array_length (ValaMethod* self, gboolean value); | |||
gboolean vala_method_get_printf_format (ValaMethod* self); | gboolean vala_method_get_printf_format (ValaMethod* self); | |||
void vala_method_set_printf_format (ValaMethod* self, gboolean value); | void vala_method_set_printf_format (ValaMethod* self, gboolean value); | |||
GType vala_method_get_type (void); | GType vala_method_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 10 change blocks. | ||||
9 lines changed or deleted | 19 lines changed or added | |||
valanamedargument.h | valanamedargument.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_IS_NAMED_ARGUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_NAMED_ARGUMENT)) | #define VALA_IS_NAMED_ARGUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_NAMED_ARGUMENT)) | |||
#define VALA_NAMED_ARGUMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_NAMED_ARGUMENT, ValaNamedArgumentClass)) | #define VALA_NAMED_ARGUMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_NAMED_ARGUMENT, ValaNamedArgumentClass)) | |||
typedef struct _ValaNamedArgumentPrivate ValaNamedArgumentPrivate; | typedef struct _ValaNamedArgumentPrivate ValaNamedArgumentPrivate; | |||
/** | /** | |||
* Represents a named argument in the source code. A named argument may be used | * Represents a named argument in the source code. A named argument may be used | |||
* when creating objects and attributes where no parameter list exists. | * when creating objects and attributes where no parameter list exists. | |||
*/ | */ | |||
struct _ValaNamedArgument { | struct _ValaNamedArgument { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaNamedArgumentPrivate * priv; | ValaNamedArgumentPrivate * priv; | |||
}; | }; | |||
struct _ValaNamedArgumentClass { | struct _ValaNamedArgumentClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaNamedArgument* vala_named_argument_new (const char* _name, ValaExpressi on* arg, ValaSourceReference* source); | ValaNamedArgument* vala_named_argument_new (const char* _name, ValaExpressi on* arg, ValaSourceReference* source); | |||
char* vala_named_argument_get_name (ValaNamedArgument* self); | char* vala_named_argument_get_name (ValaNamedArgument* self); | |||
void vala_named_argument_set_name (ValaNamedArgument* self, const char* val ue); | void vala_named_argument_set_name (ValaNamedArgument* self, const char* val ue); | |||
ValaExpression* vala_named_argument_get_argument (ValaNamedArgument* self); | ValaExpression* vala_named_argument_get_argument (ValaNamedArgument* self); | |||
void vala_named_argument_set_argument (ValaNamedArgument* self, ValaExpress ion* value); | void vala_named_argument_set_argument (ValaNamedArgument* self, ValaExpress ion* value); | |||
GType vala_named_argument_get_type (void); | GType vala_named_argument_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valanamespace.h | valanamespace.h | |||
---|---|---|---|---|
/* valanamespace.vala | /* valanamespace.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 50 | skipping to change at line 50 | |||
#define VALA_IS_NAMESPACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP E_NAMESPACE)) | #define VALA_IS_NAMESPACE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP E_NAMESPACE)) | |||
#define VALA_IS_NAMESPACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V ALA_TYPE_NAMESPACE)) | #define VALA_IS_NAMESPACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V ALA_TYPE_NAMESPACE)) | |||
#define VALA_NAMESPACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA LA_TYPE_NAMESPACE, ValaNamespaceClass)) | #define VALA_NAMESPACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA LA_TYPE_NAMESPACE, ValaNamespaceClass)) | |||
typedef struct _ValaNamespacePrivate ValaNamespacePrivate; | typedef struct _ValaNamespacePrivate ValaNamespacePrivate; | |||
/** | /** | |||
* Represents a namespace declaration in the source code. | * Represents a namespace declaration in the source code. | |||
*/ | */ | |||
struct _ValaNamespace { | struct _ValaNamespace { | |||
ValaSymbol parent; | ValaSymbol parent_instance; | |||
ValaNamespacePrivate * priv; | ValaNamespacePrivate * priv; | |||
}; | }; | |||
struct _ValaNamespaceClass { | struct _ValaNamespaceClass { | |||
ValaSymbolClass parent; | ValaSymbolClass parent_class; | |||
}; | }; | |||
ValaNamespace* vala_namespace_new (const char* name, ValaSourceReference* s ource_reference); | ValaNamespace* vala_namespace_new (const char* name, ValaSourceReference* s ource_reference); | |||
void vala_namespace_add_namespace (ValaNamespace* self, ValaNamespace* ns); | void vala_namespace_add_namespace (ValaNamespace* self, ValaNamespace* ns); | |||
GeeCollection* vala_namespace_get_namespaces (ValaNamespace* self); | GeeCollection* vala_namespace_get_namespaces (ValaNamespace* self); | |||
void vala_namespace_add_class (ValaNamespace* self, ValaClass* cl); | void vala_namespace_add_class (ValaNamespace* self, ValaClass* cl); | |||
void vala_namespace_add_interface (ValaNamespace* self, ValaInterface* ifac e); | void vala_namespace_add_interface (ValaNamespace* self, ValaInterface* ifac e); | |||
void vala_namespace_add_struct (ValaNamespace* self, ValaStruct* st); | void vala_namespace_add_struct (ValaNamespace* self, ValaStruct* st); | |||
void vala_namespace_add_enum (ValaNamespace* self, ValaEnum* en); | void vala_namespace_add_enum (ValaNamespace* self, ValaEnum* en); | |||
void vala_namespace_add_callback (ValaNamespace* self, ValaCallback* cb); | void vala_namespace_add_delegate (ValaNamespace* self, ValaDelegate* d); | |||
GeeCollection* vala_namespace_get_structs (ValaNamespace* self); | GeeCollection* vala_namespace_get_structs (ValaNamespace* self); | |||
GeeCollection* vala_namespace_get_classes (ValaNamespace* self); | GeeCollection* vala_namespace_get_classes (ValaNamespace* self); | |||
GeeCollection* vala_namespace_get_interfaces (ValaNamespace* self); | GeeCollection* vala_namespace_get_interfaces (ValaNamespace* self); | |||
void vala_namespace_add_constant (ValaNamespace* self, ValaConstant* consta nt); | void vala_namespace_add_constant (ValaNamespace* self, ValaConstant* consta nt); | |||
void vala_namespace_add_field (ValaNamespace* self, ValaField* f); | void vala_namespace_add_field (ValaNamespace* self, ValaField* f); | |||
void vala_namespace_add_method (ValaNamespace* self, ValaMethod* m); | void vala_namespace_add_method (ValaNamespace* self, ValaMethod* m); | |||
GeeList* vala_namespace_get_cprefixes (ValaNamespace* self); | GeeList* vala_namespace_get_cprefixes (ValaNamespace* self); | |||
void vala_namespace_add_cprefix (ValaNamespace* self, const char* cprefix); | void vala_namespace_add_cprefix (ValaNamespace* self, const char* cprefix); | |||
void vala_namespace_set_lower_case_cprefix (ValaNamespace* self, const char * cprefix); | void vala_namespace_set_lower_case_cprefix (ValaNamespace* self, const char * cprefix); | |||
char* vala_namespace_get_cheader_filename (ValaNamespace* self); | char* vala_namespace_get_cheader_filename (ValaNamespace* self); | |||
End of changes. 4 change blocks. | ||||
4 lines changed or deleted | 4 lines changed or added | |||
valanamespacereference.h | valanamespacereference.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
#define VALA_IS_NAMESPACE_REFERENCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_NAMESPACE_REFERENCE)) | #define VALA_IS_NAMESPACE_REFERENCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_NAMESPACE_REFERENCE)) | |||
#define VALA_IS_NAMESPACE_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_NAMESPACE_REFERENCE)) | #define VALA_IS_NAMESPACE_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_NAMESPACE_REFERENCE)) | |||
#define VALA_NAMESPACE_REFERENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_NAMESPACE_REFERENCE, ValaNamespaceReferenceClass)) | #define VALA_NAMESPACE_REFERENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_NAMESPACE_REFERENCE, ValaNamespaceReferenceClass)) | |||
typedef struct _ValaNamespaceReferencePrivate ValaNamespaceReferencePrivate ; | typedef struct _ValaNamespaceReferencePrivate ValaNamespaceReferencePrivate ; | |||
/** | /** | |||
* A reference to a namespace symbol. | * A reference to a namespace symbol. | |||
*/ | */ | |||
struct _ValaNamespaceReference { | struct _ValaNamespaceReference { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaNamespaceReferencePrivate * priv; | ValaNamespaceReferencePrivate * priv; | |||
}; | }; | |||
struct _ValaNamespaceReferenceClass { | struct _ValaNamespaceReferenceClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaNamespaceReference* vala_namespace_reference_new (const char* name, Val aSourceReference* source_reference); | ValaNamespaceReference* vala_namespace_reference_new (const char* name, Val aSourceReference* source_reference); | |||
char* vala_namespace_reference_get_name (ValaNamespaceReference* self); | char* vala_namespace_reference_get_name (ValaNamespaceReference* self); | |||
void vala_namespace_reference_set_name (ValaNamespaceReference* self, const char* value); | void vala_namespace_reference_set_name (ValaNamespaceReference* self, const char* value); | |||
ValaSymbol* vala_namespace_reference_get_namespace_symbol (ValaNamespaceRef erence* self); | ValaSymbol* vala_namespace_reference_get_namespace_symbol (ValaNamespaceRef erence* self); | |||
void vala_namespace_reference_set_namespace_symbol (ValaNamespaceReference* self, ValaSymbol* value); | void vala_namespace_reference_set_namespace_symbol (ValaNamespaceReference* self, ValaSymbol* value); | |||
GType vala_namespace_reference_get_type (void); | GType vala_namespace_reference_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valanullliteral.h | valanullliteral.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_IS_NULL_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_NULL_LITERAL)) | #define VALA_IS_NULL_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_NULL_LITERAL)) | |||
#define VALA_IS_NULL_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_NULL_LITERAL)) | #define VALA_IS_NULL_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_NULL_LITERAL)) | |||
#define VALA_NULL_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_NULL_LITERAL, ValaNullLiteralClass)) | #define VALA_NULL_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_NULL_LITERAL, ValaNullLiteralClass)) | |||
typedef struct _ValaNullLiteralPrivate ValaNullLiteralPrivate; | typedef struct _ValaNullLiteralPrivate ValaNullLiteralPrivate; | |||
/** | /** | |||
* Represents a literal `null' in the source code. | * Represents a literal `null' in the source code. | |||
*/ | */ | |||
struct _ValaNullLiteral { | struct _ValaNullLiteral { | |||
ValaLiteral parent; | ValaLiteral parent_instance; | |||
ValaNullLiteralPrivate * priv; | ValaNullLiteralPrivate * priv; | |||
}; | }; | |||
struct _ValaNullLiteralClass { | struct _ValaNullLiteralClass { | |||
ValaLiteralClass parent; | ValaLiteralClass parent_class; | |||
}; | }; | |||
ValaNullLiteral* vala_null_literal_new (ValaSourceReference* source); | ValaNullLiteral* vala_null_literal_new (ValaSourceReference* source); | |||
GType vala_null_literal_get_type (void); | GType vala_null_literal_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaobjectcreationexpression.h | valaobjectcreationexpression.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
#define VALA_IS_OBJECT_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_OBJECT_CREATION_EXPRESSION)) | #define VALA_IS_OBJECT_CREATION_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_OBJECT_CREATION_EXPRESSION)) | |||
#define VALA_IS_OBJECT_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS _TYPE ((klass), VALA_TYPE_OBJECT_CREATION_EXPRESSION)) | #define VALA_IS_OBJECT_CREATION_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS _TYPE ((klass), VALA_TYPE_OBJECT_CREATION_EXPRESSION)) | |||
#define VALA_OBJECT_CREATION_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET _CLASS ((obj), VALA_TYPE_OBJECT_CREATION_EXPRESSION, ValaObjectCreationExpr essionClass)) | #define VALA_OBJECT_CREATION_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET _CLASS ((obj), VALA_TYPE_OBJECT_CREATION_EXPRESSION, ValaObjectCreationExpr essionClass)) | |||
typedef struct _ValaObjectCreationExpressionPrivate ValaObjectCreationExpre ssionPrivate; | typedef struct _ValaObjectCreationExpressionPrivate ValaObjectCreationExpre ssionPrivate; | |||
/** | /** | |||
* Represents an object creation expression in the source code. | * Represents an object creation expression in the source code. | |||
*/ | */ | |||
struct _ValaObjectCreationExpression { | struct _ValaObjectCreationExpression { | |||
ValaExpression parent; | ValaExpression parent_instance; | |||
ValaObjectCreationExpressionPrivate * priv; | ValaObjectCreationExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaObjectCreationExpressionClass { | struct _ValaObjectCreationExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent_class; | |||
}; | }; | |||
ValaObjectCreationExpression* vala_object_creation_expression_new (ValaMemb erAccess* member_name, ValaSourceReference* source_reference); | ValaObjectCreationExpression* vala_object_creation_expression_new (ValaMemb erAccess* member_name, ValaSourceReference* source_reference); | |||
void vala_object_creation_expression_add_argument (ValaObjectCreationExpres sion* self, ValaExpression* arg); | void vala_object_creation_expression_add_argument (ValaObjectCreationExpres sion* self, ValaExpression* arg); | |||
GeeCollection* vala_object_creation_expression_get_argument_list (ValaObjec tCreationExpression* self); | GeeCollection* vala_object_creation_expression_get_argument_list (ValaObjec tCreationExpression* self); | |||
void vala_object_creation_expression_add_member_initializer (ValaObjectCrea tionExpression* self, ValaMemberInitializer* init); | void vala_object_creation_expression_add_member_initializer (ValaObjectCrea tionExpression* self, ValaMemberInitializer* init); | |||
GeeCollection* vala_object_creation_expression_get_object_initializer (Vala ObjectCreationExpression* self); | GeeCollection* vala_object_creation_expression_get_object_initializer (Vala ObjectCreationExpression* self); | |||
ValaTypeReference* vala_object_creation_expression_get_type_reference (Vala | ValaDataType* vala_object_creation_expression_get_type_reference (ValaObjec | |||
ObjectCreationExpression* self); | tCreationExpression* self); | |||
void vala_object_creation_expression_set_type_reference (ValaObjectCreation | void vala_object_creation_expression_set_type_reference (ValaObjectCreation | |||
Expression* self, ValaTypeReference* value); | Expression* self, ValaDataType* value); | |||
ValaMethod* vala_object_creation_expression_get_constructor (ValaObjectCrea tionExpression* self); | ValaMethod* vala_object_creation_expression_get_constructor (ValaObjectCrea tionExpression* self); | |||
void vala_object_creation_expression_set_constructor (ValaObjectCreationExp ression* self, ValaMethod* value); | void vala_object_creation_expression_set_constructor (ValaObjectCreationExp ression* self, ValaMethod* value); | |||
ValaMemberAccess* vala_object_creation_expression_get_member_name (ValaObje ctCreationExpression* self); | ValaMemberAccess* vala_object_creation_expression_get_member_name (ValaObje ctCreationExpression* self); | |||
void vala_object_creation_expression_set_member_name (ValaObjectCreationExp ression* self, ValaMemberAccess* value); | void vala_object_creation_expression_set_member_name (ValaObjectCreationExp ression* self, ValaMemberAccess* value); | |||
GType vala_object_creation_expression_get_type (void); | GType vala_object_creation_expression_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 3 change blocks. | ||||
6 lines changed or deleted | 6 lines changed or added | |||
valaparenthesizedexpression.h | valaparenthesizedexpression.h | |||
---|---|---|---|---|
/* valaparenthesizedexpression.vala | /* valaparenthesizedexpression.vala | |||
* | * | |||
* Copyright (C) 2006 Jürg Billeter | * Copyright (C) 2006-2007 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_PARENTHESIZED_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ( (obj), VALA_TYPE_PARENTHESIZED_EXPRESSION)) | #define VALA_IS_PARENTHESIZED_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ( (obj), VALA_TYPE_PARENTHESIZED_EXPRESSION)) | |||
#define VALA_IS_PARENTHESIZED_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_T YPE ((klass), VALA_TYPE_PARENTHESIZED_EXPRESSION)) | #define VALA_IS_PARENTHESIZED_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_T YPE ((klass), VALA_TYPE_PARENTHESIZED_EXPRESSION)) | |||
#define VALA_PARENTHESIZED_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_C LASS ((obj), VALA_TYPE_PARENTHESIZED_EXPRESSION, ValaParenthesizedExpressio nClass)) | #define VALA_PARENTHESIZED_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_C LASS ((obj), VALA_TYPE_PARENTHESIZED_EXPRESSION, ValaParenthesizedExpressio nClass)) | |||
typedef struct _ValaParenthesizedExpressionPrivate ValaParenthesizedExpress ionPrivate; | typedef struct _ValaParenthesizedExpressionPrivate ValaParenthesizedExpress ionPrivate; | |||
/** | /** | |||
* Represents a parenthesized expression in the source code. | * Represents a parenthesized expression in the source code. | |||
*/ | */ | |||
struct _ValaParenthesizedExpression { | struct _ValaParenthesizedExpression { | |||
ValaExpression parent; | ValaExpression parent_instance; | |||
ValaParenthesizedExpressionPrivate * priv; | ValaParenthesizedExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaParenthesizedExpressionClass { | struct _ValaParenthesizedExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent_class; | |||
}; | }; | |||
ValaParenthesizedExpression* vala_parenthesized_expression_new (ValaExpress ion* _inner, ValaSourceReference* source); | ValaParenthesizedExpression* vala_parenthesized_expression_new (ValaExpress ion* _inner, ValaSourceReference* source); | |||
ValaExpression* vala_parenthesized_expression_get_inner (ValaParenthesizedE xpression* self); | ValaExpression* vala_parenthesized_expression_get_inner (ValaParenthesizedE xpression* self); | |||
void vala_parenthesized_expression_set_inner (ValaParenthesizedExpression* self, ValaExpression* value); | void vala_parenthesized_expression_set_inner (ValaParenthesizedExpression* self, ValaExpression* value); | |||
GType vala_parenthesized_expression_get_type (void); | GType vala_parenthesized_expression_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
valaparser.h | valaparser.h | |||
---|---|---|---|---|
skipping to change at line 51 | skipping to change at line 51 | |||
#define VALA_PARSER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_PARSER, ValaParserClass)) | #define VALA_PARSER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_PARSER, ValaParserClass)) | |||
typedef struct _ValaParser ValaParser; | typedef struct _ValaParser ValaParser; | |||
typedef struct _ValaParserClass ValaParserClass; | typedef struct _ValaParserClass ValaParserClass; | |||
typedef struct _ValaParserPrivate ValaParserPrivate; | typedef struct _ValaParserPrivate ValaParserPrivate; | |||
/** | /** | |||
* Code visitor parsing all Vala source files. | * Code visitor parsing all Vala source files. | |||
*/ | */ | |||
struct _ValaParser { | struct _ValaParser { | |||
ValaCodeVisitor parent; | ValaCodeVisitor parent_instance; | |||
ValaParserPrivate * priv; | ValaParserPrivate * priv; | |||
}; | }; | |||
struct _ValaParserClass { | struct _ValaParserClass { | |||
ValaCodeVisitorClass parent; | ValaCodeVisitorClass parent_class; | |||
}; | }; | |||
void vala_parser_parse (ValaParser* self, ValaCodeContext* context); | void vala_parser_parse (ValaParser* self, ValaCodeContext* context); | |||
void vala_parser_push_comment (ValaParser* self, const char* comment_item, gboolean file_comment); | void vala_parser_push_comment (ValaParser* self, const char* comment_item, gboolean file_comment); | |||
char* vala_parser_pop_comment (ValaParser* self); | char* vala_parser_pop_comment (ValaParser* self); | |||
void vala_parser_parse_file (ValaParser* self, ValaSourceFile* source_file) ; | void vala_parser_parse_file (ValaParser* self, ValaSourceFile* source_file) ; | |||
ValaParser* vala_parser_new (void); | ValaParser* vala_parser_new (void); | |||
GType vala_parser_get_type (void); | GType vala_parser_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valapointerindirection.h | valapointerindirection.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_POINTER_INDIRECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_POINTER_INDIRECTION)) | #define VALA_IS_POINTER_INDIRECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_POINTER_INDIRECTION)) | |||
#define VALA_IS_POINTER_INDIRECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_POINTER_INDIRECTION)) | #define VALA_IS_POINTER_INDIRECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_POINTER_INDIRECTION)) | |||
#define VALA_POINTER_INDIRECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_POINTER_INDIRECTION, ValaPointerIndirectionClass)) | #define VALA_POINTER_INDIRECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_POINTER_INDIRECTION, ValaPointerIndirectionClass)) | |||
typedef struct _ValaPointerIndirectionPrivate ValaPointerIndirectionPrivate ; | typedef struct _ValaPointerIndirectionPrivate ValaPointerIndirectionPrivate ; | |||
/** | /** | |||
* Represents a pointer indirection in the source code, e.g. `*pointer'. | * Represents a pointer indirection in the source code, e.g. `*pointer'. | |||
*/ | */ | |||
struct _ValaPointerIndirection { | struct _ValaPointerIndirection { | |||
ValaExpression parent; | ValaExpression parent_instance; | |||
ValaPointerIndirectionPrivate * priv; | ValaPointerIndirectionPrivate * priv; | |||
}; | }; | |||
struct _ValaPointerIndirectionClass { | struct _ValaPointerIndirectionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent_class; | |||
}; | }; | |||
ValaPointerIndirection* vala_pointer_indirection_new (ValaExpression* inner , ValaSourceReference* source_reference); | ValaPointerIndirection* vala_pointer_indirection_new (ValaExpression* inner , ValaSourceReference* source_reference); | |||
ValaExpression* vala_pointer_indirection_get_inner (ValaPointerIndirection* self); | ValaExpression* vala_pointer_indirection_get_inner (ValaPointerIndirection* self); | |||
void vala_pointer_indirection_set_inner (ValaPointerIndirection* self, Vala Expression* value); | void vala_pointer_indirection_set_inner (ValaPointerIndirection* self, Vala Expression* value); | |||
GType vala_pointer_indirection_get_type (void); | GType vala_pointer_indirection_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valapostfixexpression.h | valapostfixexpression.h | |||
---|---|---|---|---|
/* valapostfixexpression.vala | /* valapostfixexpression.vala | |||
* | * | |||
* Copyright (C) 2006 Jürg Billeter | * Copyright (C) 2006-2007 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_POSTFIX_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_POSTFIX_EXPRESSION)) | #define VALA_IS_POSTFIX_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_POSTFIX_EXPRESSION)) | |||
#define VALA_IS_POSTFIX_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( klass), VALA_TYPE_POSTFIX_EXPRESSION)) | #define VALA_IS_POSTFIX_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE (( klass), VALA_TYPE_POSTFIX_EXPRESSION)) | |||
#define VALA_POSTFIX_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_POSTFIX_EXPRESSION, ValaPostfixExpressionClass)) | #define VALA_POSTFIX_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ( (obj), VALA_TYPE_POSTFIX_EXPRESSION, ValaPostfixExpressionClass)) | |||
typedef struct _ValaPostfixExpressionPrivate ValaPostfixExpressionPrivate; | typedef struct _ValaPostfixExpressionPrivate ValaPostfixExpressionPrivate; | |||
/** | /** | |||
* Represents a postfix increment or decrement expression. | * Represents a postfix increment or decrement expression. | |||
*/ | */ | |||
struct _ValaPostfixExpression { | struct _ValaPostfixExpression { | |||
ValaExpression parent; | ValaExpression parent_instance; | |||
ValaPostfixExpressionPrivate * priv; | ValaPostfixExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaPostfixExpressionClass { | struct _ValaPostfixExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent_class; | |||
}; | }; | |||
ValaPostfixExpression* vala_postfix_expression_new (ValaExpression* _inner, gboolean inc, ValaSourceReference* source); | ValaPostfixExpression* vala_postfix_expression_new (ValaExpression* _inner, gboolean inc, ValaSourceReference* source); | |||
ValaExpression* vala_postfix_expression_get_inner (ValaPostfixExpression* s elf); | ValaExpression* vala_postfix_expression_get_inner (ValaPostfixExpression* s elf); | |||
void vala_postfix_expression_set_inner (ValaPostfixExpression* self, ValaEx pression* value); | void vala_postfix_expression_set_inner (ValaPostfixExpression* self, ValaEx pression* value); | |||
gboolean vala_postfix_expression_get_increment (ValaPostfixExpression* self ); | gboolean vala_postfix_expression_get_increment (ValaPostfixExpression* self ); | |||
void vala_postfix_expression_set_increment (ValaPostfixExpression* self, gb oolean value); | void vala_postfix_expression_set_increment (ValaPostfixExpression* self, gb oolean value); | |||
GType vala_postfix_expression_get_type (void); | GType vala_postfix_expression_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
valaproperty.h | valaproperty.h | |||
---|---|---|---|---|
skipping to change at line 50 | skipping to change at line 50 | |||
#define VALA_IS_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE _PROPERTY)) | #define VALA_IS_PROPERTY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE _PROPERTY)) | |||
#define VALA_IS_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VA LA_TYPE_PROPERTY)) | #define VALA_IS_PROPERTY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VA LA_TYPE_PROPERTY)) | |||
#define VALA_PROPERTY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VAL A_TYPE_PROPERTY, ValaPropertyClass)) | #define VALA_PROPERTY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VAL A_TYPE_PROPERTY, ValaPropertyClass)) | |||
typedef struct _ValaPropertyPrivate ValaPropertyPrivate; | typedef struct _ValaPropertyPrivate ValaPropertyPrivate; | |||
/** | /** | |||
* Represents a property declaration in the source code. | * Represents a property declaration in the source code. | |||
*/ | */ | |||
struct _ValaProperty { | struct _ValaProperty { | |||
ValaMember parent; | ValaMember parent_instance; | |||
ValaPropertyPrivate * priv; | ValaPropertyPrivate * priv; | |||
}; | }; | |||
struct _ValaPropertyClass { | struct _ValaPropertyClass { | |||
ValaMemberClass parent; | ValaMemberClass parent_class; | |||
}; | }; | |||
ValaProperty* vala_property_new (const char* _name, ValaTypeReference* type , ValaPropertyAccessor* _get_accessor, ValaPropertyAccessor* _set_accessor, ValaSourceReference* source); | ValaProperty* vala_property_new (const char* _name, ValaDataType* type, Val aPropertyAccessor* _get_accessor, ValaPropertyAccessor* _set_accessor, Vala SourceReference* source); | |||
char* vala_property_get_upper_case_cname (ValaProperty* self); | char* vala_property_get_upper_case_cname (ValaProperty* self); | |||
ValaCCodeConstant* vala_property_get_canonical_cconstant (ValaProperty* sel f); | ValaCCodeConstant* vala_property_get_canonical_cconstant (ValaProperty* sel f); | |||
void vala_property_process_attributes (ValaProperty* self); | void vala_property_process_attributes (ValaProperty* self); | |||
gboolean vala_property_equals (ValaProperty* self, ValaProperty* prop2); | gboolean vala_property_equals (ValaProperty* self, ValaProperty* prop2); | |||
ValaTypeReference* vala_property_get_type_reference (ValaProperty* self); | ValaDataType* vala_property_get_type_reference (ValaProperty* self); | |||
void vala_property_set_type_reference (ValaProperty* self, ValaTypeReferenc | void vala_property_set_type_reference (ValaProperty* self, ValaDataType* va | |||
e* value); | lue); | |||
ValaPropertyAccessor* vala_property_get_get_accessor (ValaProperty* self); | ValaPropertyAccessor* vala_property_get_get_accessor (ValaProperty* self); | |||
void vala_property_set_get_accessor (ValaProperty* self, ValaPropertyAccess or* value); | void vala_property_set_get_accessor (ValaProperty* self, ValaPropertyAccess or* value); | |||
ValaPropertyAccessor* vala_property_get_set_accessor (ValaProperty* self); | ValaPropertyAccessor* vala_property_get_set_accessor (ValaProperty* self); | |||
void vala_property_set_set_accessor (ValaProperty* self, ValaPropertyAccess or* value); | void vala_property_set_set_accessor (ValaProperty* self, ValaPropertyAccess or* value); | |||
ValaFormalParameter* vala_property_get_this_parameter (ValaProperty* self); | ValaFormalParameter* vala_property_get_this_parameter (ValaProperty* self); | |||
void vala_property_set_this_parameter (ValaProperty* self, ValaFormalParame ter* value); | void vala_property_set_this_parameter (ValaProperty* self, ValaFormalParame ter* value); | |||
gboolean vala_property_get_notify (ValaProperty* self); | gboolean vala_property_get_notify (ValaProperty* self); | |||
void vala_property_set_notify (ValaProperty* self, gboolean value); | void vala_property_set_notify (ValaProperty* self, gboolean value); | |||
gboolean vala_property_get_no_accessor_method (ValaProperty* self); | gboolean vala_property_get_no_accessor_method (ValaProperty* self); | |||
void vala_property_set_no_accessor_method (ValaProperty* self, gboolean val ue); | void vala_property_set_no_accessor_method (ValaProperty* self, gboolean val ue); | |||
End of changes. 4 change blocks. | ||||
6 lines changed or deleted | 6 lines changed or added | |||
valapropertyaccessor.h | valapropertyaccessor.h | |||
---|---|---|---|---|
skipping to change at line 45 | skipping to change at line 45 | |||
#define VALA_IS_PROPERTY_ACCESSOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_PROPERTY_ACCESSOR)) | #define VALA_IS_PROPERTY_ACCESSOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_PROPERTY_ACCESSOR)) | |||
#define VALA_IS_PROPERTY_ACCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_PROPERTY_ACCESSOR)) | #define VALA_IS_PROPERTY_ACCESSOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_PROPERTY_ACCESSOR)) | |||
#define VALA_PROPERTY_ACCESSOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_PROPERTY_ACCESSOR, ValaPropertyAccessorClass)) | #define VALA_PROPERTY_ACCESSOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_PROPERTY_ACCESSOR, ValaPropertyAccessorClass)) | |||
typedef struct _ValaPropertyAccessorPrivate ValaPropertyAccessorPrivate; | typedef struct _ValaPropertyAccessorPrivate ValaPropertyAccessorPrivate; | |||
/** | /** | |||
* Represents a get or set accessor of a property in the source code. | * Represents a get or set accessor of a property in the source code. | |||
*/ | */ | |||
struct _ValaPropertyAccessor { | struct _ValaPropertyAccessor { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaPropertyAccessorPrivate * priv; | ValaPropertyAccessorPrivate * priv; | |||
}; | }; | |||
struct _ValaPropertyAccessorClass { | struct _ValaPropertyAccessorClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaPropertyAccessor* vala_property_accessor_new (gboolean readable, gboole an writable, gboolean construction, ValaBlock* body, ValaSourceReference* s ource_reference); | ValaPropertyAccessor* vala_property_accessor_new (gboolean readable, gboole an writable, gboolean construction, ValaBlock* body, ValaSourceReference* s ource_reference); | |||
ValaProperty* vala_property_accessor_get_prop (ValaPropertyAccessor* self); | ValaProperty* vala_property_accessor_get_prop (ValaPropertyAccessor* self); | |||
void vala_property_accessor_set_prop (ValaPropertyAccessor* self, ValaPrope rty* value); | void vala_property_accessor_set_prop (ValaPropertyAccessor* self, ValaPrope rty* value); | |||
gboolean vala_property_accessor_get_readable (ValaPropertyAccessor* self); | gboolean vala_property_accessor_get_readable (ValaPropertyAccessor* self); | |||
void vala_property_accessor_set_readable (ValaPropertyAccessor* self, gbool ean value); | void vala_property_accessor_set_readable (ValaPropertyAccessor* self, gbool ean value); | |||
gboolean vala_property_accessor_get_writable (ValaPropertyAccessor* self); | gboolean vala_property_accessor_get_writable (ValaPropertyAccessor* self); | |||
void vala_property_accessor_set_writable (ValaPropertyAccessor* self, gbool ean value); | void vala_property_accessor_set_writable (ValaPropertyAccessor* self, gbool ean value); | |||
gboolean vala_property_accessor_get_construction (ValaPropertyAccessor* sel f); | gboolean vala_property_accessor_get_construction (ValaPropertyAccessor* sel f); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valarealliteral.h | valarealliteral.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_IS_REAL_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_REAL_LITERAL)) | #define VALA_IS_REAL_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_REAL_LITERAL)) | |||
#define VALA_IS_REAL_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_REAL_LITERAL)) | #define VALA_IS_REAL_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_REAL_LITERAL)) | |||
#define VALA_REAL_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_REAL_LITERAL, ValaRealLiteralClass)) | #define VALA_REAL_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_REAL_LITERAL, ValaRealLiteralClass)) | |||
typedef struct _ValaRealLiteralPrivate ValaRealLiteralPrivate; | typedef struct _ValaRealLiteralPrivate ValaRealLiteralPrivate; | |||
/** | /** | |||
* Represents a real literal in the source code. | * Represents a real literal in the source code. | |||
*/ | */ | |||
struct _ValaRealLiteral { | struct _ValaRealLiteral { | |||
ValaLiteral parent; | ValaLiteral parent_instance; | |||
ValaRealLiteralPrivate * priv; | ValaRealLiteralPrivate * priv; | |||
}; | }; | |||
struct _ValaRealLiteralClass { | struct _ValaRealLiteralClass { | |||
ValaLiteralClass parent; | ValaLiteralClass parent_class; | |||
}; | }; | |||
ValaRealLiteral* vala_real_literal_new (const char* r, ValaSourceReference* source); | ValaRealLiteral* vala_real_literal_new (const char* r, ValaSourceReference* source); | |||
char* vala_real_literal_get_type_name (ValaRealLiteral* self); | char* vala_real_literal_get_type_name (ValaRealLiteral* self); | |||
char* vala_real_literal_get_value (ValaRealLiteral* self); | char* vala_real_literal_get_value (ValaRealLiteral* self); | |||
void vala_real_literal_set_value (ValaRealLiteral* self, const char* value) ; | void vala_real_literal_set_value (ValaRealLiteral* self, const char* value) ; | |||
GType vala_real_literal_get_type (void); | GType vala_real_literal_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valareferencetransferexpression.h | valareferencetransferexpression.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_REFERENCE_TRANSFER_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_T YPE ((obj), VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION)) | #define VALA_IS_REFERENCE_TRANSFER_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_T YPE ((obj), VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION)) | |||
#define VALA_IS_REFERENCE_TRANSFER_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CL ASS_TYPE ((klass), VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION)) | #define VALA_IS_REFERENCE_TRANSFER_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CL ASS_TYPE ((klass), VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION)) | |||
#define VALA_REFERENCE_TRANSFER_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_ GET_CLASS ((obj), VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION, ValaReferenceTra nsferExpressionClass)) | #define VALA_REFERENCE_TRANSFER_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_ GET_CLASS ((obj), VALA_TYPE_REFERENCE_TRANSFER_EXPRESSION, ValaReferenceTra nsferExpressionClass)) | |||
typedef struct _ValaReferenceTransferExpressionPrivate ValaReferenceTransfe rExpressionPrivate; | typedef struct _ValaReferenceTransferExpressionPrivate ValaReferenceTransfe rExpressionPrivate; | |||
/** | /** | |||
* Represents a reference transfer expression in the source code, e.g. `#fo o'. | * Represents a reference transfer expression in the source code, e.g. `#fo o'. | |||
*/ | */ | |||
struct _ValaReferenceTransferExpression { | struct _ValaReferenceTransferExpression { | |||
ValaExpression parent; | ValaExpression parent_instance; | |||
ValaReferenceTransferExpressionPrivate * priv; | ValaReferenceTransferExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaReferenceTransferExpressionClass { | struct _ValaReferenceTransferExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent_class; | |||
}; | }; | |||
ValaReferenceTransferExpression* vala_reference_transfer_expression_new (Va laExpression* inner, ValaSourceReference* source_reference); | ValaReferenceTransferExpression* vala_reference_transfer_expression_new (Va laExpression* inner, ValaSourceReference* source_reference); | |||
ValaExpression* vala_reference_transfer_expression_get_inner (ValaReference TransferExpression* self); | ValaExpression* vala_reference_transfer_expression_get_inner (ValaReference TransferExpression* self); | |||
void vala_reference_transfer_expression_set_inner (ValaReferenceTransferExp ression* self, ValaExpression* value); | void vala_reference_transfer_expression_set_inner (ValaReferenceTransferExp ression* self, ValaExpression* value); | |||
GType vala_reference_transfer_expression_get_type (void); | GType vala_reference_transfer_expression_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valareturnstatement.h | valareturnstatement.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_RETURN_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_RETURN_STATEMENT)) | #define VALA_IS_RETURN_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_RETURN_STATEMENT)) | |||
#define VALA_IS_RETURN_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_RETURN_STATEMENT)) | #define VALA_IS_RETURN_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_RETURN_STATEMENT)) | |||
#define VALA_RETURN_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_RETURN_STATEMENT, ValaReturnStatementClass)) | #define VALA_RETURN_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_RETURN_STATEMENT, ValaReturnStatementClass)) | |||
typedef struct _ValaReturnStatementPrivate ValaReturnStatementPrivate; | typedef struct _ValaReturnStatementPrivate ValaReturnStatementPrivate; | |||
/** | /** | |||
* Represents a return statement in the source code. | * Represents a return statement in the source code. | |||
*/ | */ | |||
struct _ValaReturnStatement { | struct _ValaReturnStatement { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaReturnStatementPrivate * priv; | ValaReturnStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaReturnStatementClass { | struct _ValaReturnStatementClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaReturnStatement* vala_return_statement_new (ValaExpression* return_expr ession, ValaSourceReference* source_reference); | ValaReturnStatement* vala_return_statement_new (ValaExpression* return_expr ession, ValaSourceReference* source_reference); | |||
ValaExpression* vala_return_statement_get_return_expression (ValaReturnStat ement* self); | ValaExpression* vala_return_statement_get_return_expression (ValaReturnStat ement* self); | |||
void vala_return_statement_set_return_expression (ValaReturnStatement* self , ValaExpression* value); | void vala_return_statement_set_return_expression (ValaReturnStatement* self , ValaExpression* value); | |||
GType vala_return_statement_get_type (void); | GType vala_return_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valascope.h | valascope.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
#define VALA_IS_SCOPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_SC OPE)) | #define VALA_IS_SCOPE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_SC OPE)) | |||
#define VALA_IS_SCOPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_ TYPE_SCOPE)) | #define VALA_IS_SCOPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_ TYPE_SCOPE)) | |||
#define VALA_SCOPE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T YPE_SCOPE, ValaScopeClass)) | #define VALA_SCOPE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_T YPE_SCOPE, ValaScopeClass)) | |||
typedef struct _ValaScopePrivate ValaScopePrivate; | typedef struct _ValaScopePrivate ValaScopePrivate; | |||
/** | /** | |||
* Represents a part of the symbol tree. | * Represents a part of the symbol tree. | |||
*/ | */ | |||
struct _ValaScope { | struct _ValaScope { | |||
GObject parent; | GObject parent_instance; | |||
ValaScopePrivate * priv; | ValaScopePrivate * priv; | |||
}; | }; | |||
struct _ValaScopeClass { | struct _ValaScopeClass { | |||
GObjectClass parent; | GObjectClass parent_class; | |||
}; | }; | |||
ValaScope* vala_scope_new (ValaSymbol* owner); | ValaScope* vala_scope_new (ValaSymbol* owner); | |||
void vala_scope_add (ValaScope* self, const char* name, ValaSymbol* sym); | void vala_scope_add (ValaScope* self, const char* name, ValaSymbol* sym); | |||
ValaSymbol* vala_scope_lookup (ValaScope* self, const char* name); | ValaSymbol* vala_scope_lookup (ValaScope* self, const char* name); | |||
ValaSymbol* vala_scope_get_owner (ValaScope* self); | ValaSymbol* vala_scope_get_owner (ValaScope* self); | |||
void vala_scope_set_owner (ValaScope* self, ValaSymbol* value); | void vala_scope_set_owner (ValaScope* self, ValaSymbol* value); | |||
ValaScope* vala_scope_get_parent_scope (ValaScope* self); | ValaScope* vala_scope_get_parent_scope (ValaScope* self); | |||
void vala_scope_set_parent_scope (ValaScope* self, ValaScope* value); | void vala_scope_set_parent_scope (ValaScope* self, ValaScope* value); | |||
GType vala_scope_get_type (void); | GType vala_scope_get_type (void); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valasemanticanalyzer.h | valasemanticanalyzer.h | |||
---|---|---|---|---|
/* valasemanticanalyzer.vala | /* valasemanticanalyzer.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter, Raffaele Sandrini | * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 38 | skipping to change at line 38 | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <vala/valacodevisitor.h> | #include <vala/valacodevisitor.h> | |||
#include <vala/valabindingprovider.h> | #include <vala/valabindingprovider.h> | |||
#include <vala/valacodecontext.h> | #include <vala/valacodecontext.h> | |||
#include <vala/valasourcefile.h> | #include <vala/valasourcefile.h> | |||
#include <vala/valaclass.h> | #include <vala/valaclass.h> | |||
#include <vala/valastruct.h> | #include <vala/valastruct.h> | |||
#include <vala/valainterface.h> | #include <vala/valainterface.h> | |||
#include <vala/valacallback.h> | #include <vala/valadelegate.h> | |||
#include <vala/valaconstant.h> | #include <vala/valaconstant.h> | |||
#include <vala/valafield.h> | #include <vala/valafield.h> | |||
#include <vala/valamethod.h> | #include <vala/valamethod.h> | |||
#include <vala/valacreationmethod.h> | #include <vala/valacreationmethod.h> | |||
#include <vala/valaformalparameter.h> | #include <vala/valaformalparameter.h> | |||
#include <vala/valaproperty.h> | #include <vala/valaproperty.h> | |||
#include <vala/valapropertyaccessor.h> | #include <vala/valapropertyaccessor.h> | |||
#include <vala/valasignal.h> | #include <vala/valasignal.h> | |||
#include <vala/valaconstructor.h> | #include <vala/valaconstructor.h> | |||
#include <vala/valadestructor.h> | #include <vala/valadestructor.h> | |||
skipping to change at line 76 | skipping to change at line 76 | |||
#include <vala/valacharacterliteral.h> | #include <vala/valacharacterliteral.h> | |||
#include <vala/valaintegerliteral.h> | #include <vala/valaintegerliteral.h> | |||
#include <vala/valarealliteral.h> | #include <vala/valarealliteral.h> | |||
#include <vala/valastringliteral.h> | #include <vala/valastringliteral.h> | |||
#include <vala/valanullliteral.h> | #include <vala/valanullliteral.h> | |||
#include <vala/valaliteralexpression.h> | #include <vala/valaliteralexpression.h> | |||
#include <vala/valasymbol.h> | #include <vala/valasymbol.h> | |||
#include <vala/valaparenthesizedexpression.h> | #include <vala/valaparenthesizedexpression.h> | |||
#include <vala/valamemberaccess.h> | #include <vala/valamemberaccess.h> | |||
#include <vala/valainvocationexpression.h> | #include <vala/valainvocationexpression.h> | |||
#include <vala/valatypereference.h> | #include <vala/valadatatype.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
#include <vala/valaelementaccess.h> | #include <vala/valaelementaccess.h> | |||
#include <vala/valabaseaccess.h> | #include <vala/valabaseaccess.h> | |||
#include <vala/valapostfixexpression.h> | #include <vala/valapostfixexpression.h> | |||
#include <vala/valaobjectcreationexpression.h> | #include <vala/valaobjectcreationexpression.h> | |||
#include <vala/valasizeofexpression.h> | #include <vala/valasizeofexpression.h> | |||
#include <vala/valatypeofexpression.h> | #include <vala/valatypeofexpression.h> | |||
#include <vala/valaunaryexpression.h> | #include <vala/valaunaryexpression.h> | |||
#include <vala/valacastexpression.h> | #include <vala/valacastexpression.h> | |||
#include <vala/valapointerindirection.h> | #include <vala/valapointerindirection.h> | |||
skipping to change at line 112 | skipping to change at line 112 | |||
#define VALA_SEMANTIC_ANALYZER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_SEMANTIC_ANALYZER, ValaSemanticAnalyzerClass)) | #define VALA_SEMANTIC_ANALYZER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_SEMANTIC_ANALYZER, ValaSemanticAnalyzerClass)) | |||
typedef struct _ValaSemanticAnalyzer ValaSemanticAnalyzer; | typedef struct _ValaSemanticAnalyzer ValaSemanticAnalyzer; | |||
typedef struct _ValaSemanticAnalyzerClass ValaSemanticAnalyzerClass; | typedef struct _ValaSemanticAnalyzerClass ValaSemanticAnalyzerClass; | |||
typedef struct _ValaSemanticAnalyzerPrivate ValaSemanticAnalyzerPrivate; | typedef struct _ValaSemanticAnalyzerPrivate ValaSemanticAnalyzerPrivate; | |||
/** | /** | |||
* Code visitor analyzing and checking code. | * Code visitor analyzing and checking code. | |||
*/ | */ | |||
struct _ValaSemanticAnalyzer { | struct _ValaSemanticAnalyzer { | |||
ValaCodeVisitor parent; | ValaCodeVisitor parent_instance; | |||
ValaSemanticAnalyzerPrivate * priv; | ValaSemanticAnalyzerPrivate * priv; | |||
}; | }; | |||
struct _ValaSemanticAnalyzerClass { | struct _ValaSemanticAnalyzerClass { | |||
ValaCodeVisitorClass parent; | ValaCodeVisitorClass parent_class; | |||
}; | }; | |||
ValaSemanticAnalyzer* vala_semantic_analyzer_new (gboolean manage_memory); | ValaSemanticAnalyzer* vala_semantic_analyzer_new (void); | |||
void vala_semantic_analyzer_add_binding_provider (ValaSemanticAnalyzer* sel f, ValaBindingProvider* binding_provider); | void vala_semantic_analyzer_add_binding_provider (ValaSemanticAnalyzer* sel f, ValaBindingProvider* binding_provider); | |||
void vala_semantic_analyzer_analyze (ValaSemanticAnalyzer* self, ValaCodeCo ntext* context); | void vala_semantic_analyzer_analyze (ValaSemanticAnalyzer* self, ValaCodeCo ntext* context); | |||
ValaSymbol* vala_semantic_analyzer_symbol_lookup_inherited (ValaSymbol* sym , const char* name); | ValaSymbol* vala_semantic_analyzer_symbol_lookup_inherited (ValaSymbol* sym , const char* name); | |||
ValaTypeReference* vala_semantic_analyzer_get_actual_type (ValaTypeReferenc | ValaDataType* vala_semantic_analyzer_get_actual_type (ValaDataType* derived | |||
e* derived_instance_type, ValaSymbol* generic_member, ValaTypeReference* ge | _instance_type, ValaSymbol* generic_member, ValaDataType* generic_type, Val | |||
neric_type, ValaCodeNode* node_reference); | aCodeNode* node_reference); | |||
gboolean vala_semantic_analyzer_get_memory_management (ValaSemanticAnalyzer | ||||
* self); | ||||
void vala_semantic_analyzer_set_memory_management (ValaSemanticAnalyzer* se | ||||
lf, gboolean value); | ||||
GType vala_semantic_analyzer_get_type (void); | GType vala_semantic_analyzer_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 7 change blocks. | ||||
13 lines changed or deleted | 9 lines changed or added | |||
valasignal.h | valasignal.h | |||
---|---|---|---|---|
/* valasignal.vala | /* valasignal.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 33 | skipping to change at line 33 | |||
#ifndef __VALA_VALASIGNAL_H__ | #ifndef __VALA_VALASIGNAL_H__ | |||
#define __VALA_VALASIGNAL_H__ | #define __VALA_VALASIGNAL_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <gee/collection.h> | #include <gee/collection.h> | |||
#include <ccode/valaccodeconstant.h> | #include <ccode/valaccodeconstant.h> | |||
#include <vala/valamember.h> | #include <vala/valamember.h> | |||
#include <vala/valainvokable.h> | ||||
#include <vala/valalockable.h> | #include <vala/valalockable.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_SIGNAL (vala_signal_get_type ()) | #define VALA_TYPE_SIGNAL (vala_signal_get_type ()) | |||
#define VALA_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_SIGN AL, ValaSignal)) | #define VALA_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_SIGN AL, ValaSignal)) | |||
#define VALA_SIGNAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_SIGNAL, ValaSignalClass)) | #define VALA_SIGNAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_SIGNAL, ValaSignalClass)) | |||
#define VALA_IS_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_S IGNAL)) | #define VALA_IS_SIGNAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_S IGNAL)) | |||
#define VALA_IS_SIGNAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_SIGNAL)) | #define VALA_IS_SIGNAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_SIGNAL)) | |||
#define VALA_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_SIGNAL, ValaSignalClass)) | #define VALA_SIGNAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_SIGNAL, ValaSignalClass)) | |||
typedef struct _ValaSignalPrivate ValaSignalPrivate; | typedef struct _ValaSignalPrivate ValaSignalPrivate; | |||
/** | /** | |||
* Represents an object signal. Signals enable objects to provide notificat ions. | * Represents an object signal. Signals enable objects to provide notificat ions. | |||
*/ | */ | |||
struct _ValaSignal { | struct _ValaSignal { | |||
ValaMember parent; | ValaMember parent_instance; | |||
ValaSignalPrivate * priv; | ValaSignalPrivate * priv; | |||
}; | }; | |||
struct _ValaSignalClass { | struct _ValaSignalClass { | |||
ValaMemberClass parent; | ValaMemberClass parent_class; | |||
}; | }; | |||
ValaSignal* vala_signal_new (const char* name, ValaTypeReference* return_ty pe, ValaSourceReference* source_reference); | ValaSignal* vala_signal_new (const char* name, ValaDataType* return_type, V alaSourceReference* source_reference); | |||
void vala_signal_add_parameter (ValaSignal* self, ValaFormalParameter* para m); | void vala_signal_add_parameter (ValaSignal* self, ValaFormalParameter* para m); | |||
ValaCallback* vala_signal_get_callback (ValaSignal* self); | GeeCollection* vala_signal_get_parameters (ValaSignal* self); | |||
ValaDelegate* vala_signal_get_delegate (ValaSignal* self); | ||||
char* vala_signal_get_cname (ValaSignal* self); | char* vala_signal_get_cname (ValaSignal* self); | |||
void vala_signal_set_cname (ValaSignal* self, const char* cname); | void vala_signal_set_cname (ValaSignal* self, const char* cname); | |||
ValaCCodeConstant* vala_signal_get_canonical_cconstant (ValaSignal* self); | ValaCCodeConstant* vala_signal_get_canonical_cconstant (ValaSignal* self); | |||
void vala_signal_process_attributes (ValaSignal* self); | void vala_signal_process_attributes (ValaSignal* self); | |||
ValaTypeReference* vala_signal_get_return_type (ValaSignal* self); | ValaDataType* vala_signal_get_return_type (ValaSignal* self); | |||
void vala_signal_set_return_type (ValaSignal* self, ValaTypeReference* valu | void vala_signal_set_return_type (ValaSignal* self, ValaDataType* value); | |||
e); | ||||
gboolean vala_signal_get_has_emitter (ValaSignal* self); | gboolean vala_signal_get_has_emitter (ValaSignal* self); | |||
void vala_signal_set_has_emitter (ValaSignal* self, gboolean value); | void vala_signal_set_has_emitter (ValaSignal* self, gboolean value); | |||
GType vala_signal_get_type (void); | GType vala_signal_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 7 change blocks. | ||||
9 lines changed or deleted | 8 lines changed or added | |||
valasizeofexpression.h | valasizeofexpression.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_SIZEOF_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_SIZEOF_EXPRESSION)) | #define VALA_IS_SIZEOF_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_SIZEOF_EXPRESSION)) | |||
#define VALA_IS_SIZEOF_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_SIZEOF_EXPRESSION)) | #define VALA_IS_SIZEOF_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_SIZEOF_EXPRESSION)) | |||
#define VALA_SIZEOF_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_SIZEOF_EXPRESSION, ValaSizeofExpressionClass)) | #define VALA_SIZEOF_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_SIZEOF_EXPRESSION, ValaSizeofExpressionClass)) | |||
typedef struct _ValaSizeofExpressionPrivate ValaSizeofExpressionPrivate; | typedef struct _ValaSizeofExpressionPrivate ValaSizeofExpressionPrivate; | |||
/** | /** | |||
* Represents a sizeof expression in the source code. | * Represents a sizeof expression in the source code. | |||
*/ | */ | |||
struct _ValaSizeofExpression { | struct _ValaSizeofExpression { | |||
ValaExpression parent; | ValaExpression parent_instance; | |||
ValaSizeofExpressionPrivate * priv; | ValaSizeofExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaSizeofExpressionClass { | struct _ValaSizeofExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent_class; | |||
}; | }; | |||
ValaSizeofExpression* vala_sizeof_expression_new (ValaTypeReference* type, | ValaSizeofExpression* vala_sizeof_expression_new (ValaDataType* type, ValaS | |||
ValaSourceReference* source); | ourceReference* source); | |||
ValaTypeReference* vala_sizeof_expression_get_type_reference (ValaSizeofExp | ValaDataType* vala_sizeof_expression_get_type_reference (ValaSizeofExpressi | |||
ression* self); | on* self); | |||
void vala_sizeof_expression_set_type_reference (ValaSizeofExpression* self, | void vala_sizeof_expression_set_type_reference (ValaSizeofExpression* self, | |||
ValaTypeReference* value); | ValaDataType* value); | |||
GType vala_sizeof_expression_get_type (void); | GType vala_sizeof_expression_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 3 change blocks. | ||||
8 lines changed or deleted | 8 lines changed or added | |||
valasourcefile.h | valasourcefile.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_IS_SOURCE_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T YPE_SOURCE_FILE)) | #define VALA_IS_SOURCE_FILE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_T YPE_SOURCE_FILE)) | |||
#define VALA_IS_SOURCE_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_SOURCE_FILE)) | #define VALA_IS_SOURCE_FILE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_SOURCE_FILE)) | |||
#define VALA_SOURCE_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_SOURCE_FILE, ValaSourceFileClass)) | #define VALA_SOURCE_FILE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_SOURCE_FILE, ValaSourceFileClass)) | |||
typedef struct _ValaSourceFilePrivate ValaSourceFilePrivate; | typedef struct _ValaSourceFilePrivate ValaSourceFilePrivate; | |||
/** | /** | |||
* Represents a Vala source or VAPI package file. | * Represents a Vala source or VAPI package file. | |||
*/ | */ | |||
struct _ValaSourceFile { | struct _ValaSourceFile { | |||
GObject parent; | GObject parent_instance; | |||
ValaSourceFilePrivate * priv; | ValaSourceFilePrivate * priv; | |||
}; | }; | |||
struct _ValaSourceFileClass { | struct _ValaSourceFileClass { | |||
GObjectClass parent; | GObjectClass parent_class; | |||
}; | }; | |||
typedef enum { | typedef enum { | |||
VALA_SOURCE_FILE_DEPENDENCY_TYPE_HEADER_FULL, | VALA_SOURCE_FILE_DEPENDENCY_TYPE_HEADER_FULL, | |||
VALA_SOURCE_FILE_DEPENDENCY_TYPE_HEADER_SHALLOW, | VALA_SOURCE_FILE_DEPENDENCY_TYPE_HEADER_SHALLOW, | |||
VALA_SOURCE_FILE_DEPENDENCY_TYPE_SOURCE | VALA_SOURCE_FILE_DEPENDENCY_TYPE_SOURCE | |||
} ValaSourceFileDependencyType; | } ValaSourceFileDependencyType; | |||
ValaSourceFile* vala_source_file_new (ValaCodeContext* context, const char* filename, gboolean pkg); | ValaSourceFile* vala_source_file_new (ValaCodeContext* context, const char* filename, gboolean pkg); | |||
void vala_source_file_add_using_directive (ValaSourceFile* self, ValaNamesp aceReference* ns); | void vala_source_file_add_using_directive (ValaSourceFile* self, ValaNamesp aceReference* ns); | |||
GeeCollection* vala_source_file_get_using_directives (ValaSourceFile* self) ; | GeeCollection* vala_source_file_get_using_directives (ValaSourceFile* self) ; | |||
void vala_source_file_add_node (ValaSourceFile* self, ValaCodeNode* node); | void vala_source_file_add_node (ValaSourceFile* self, ValaCodeNode* node); | |||
GeeCollection* vala_source_file_get_nodes (ValaSourceFile* self); | GeeCollection* vala_source_file_get_nodes (ValaSourceFile* self); | |||
void vala_source_file_accept (ValaSourceFile* self, ValaCodeVisitor* visito r); | void vala_source_file_accept (ValaSourceFile* self, ValaCodeVisitor* visito r); | |||
void vala_source_file_accept_children (ValaSourceFile* self, ValaCodeVisito r* visitor); | void vala_source_file_accept_children (ValaSourceFile* self, ValaCodeVisito r* visitor); | |||
char* vala_source_file_get_cheader_filename (ValaSourceFile* self); | char* vala_source_file_get_cheader_filename (ValaSourceFile* self); | |||
char* vala_source_file_get_csource_filename (ValaSourceFile* self); | char* vala_source_file_get_csource_filename (ValaSourceFile* self); | |||
char* vala_source_file_get_cinclude_filename (ValaSourceFile* self); | char* vala_source_file_get_cinclude_filename (ValaSourceFile* self); | |||
void vala_source_file_add_symbol_dependency (ValaSourceFile* self, ValaSymb ol* sym, ValaSourceFileDependencyType dep_type); | void vala_source_file_add_symbol_dependency (ValaSourceFile* self, ValaSymb ol* sym, ValaSourceFileDependencyType dep_type); | |||
void vala_source_file_add_type_dependency (ValaSourceFile* self, ValaDataTy pe* type, ValaSourceFileDependencyType dep_type); | ||||
GeeCollection* vala_source_file_get_header_external_includes (ValaSourceFil e* self); | GeeCollection* vala_source_file_get_header_external_includes (ValaSourceFil e* self); | |||
void vala_source_file_add_header_internal_include (ValaSourceFile* self, co nst char* include); | void vala_source_file_add_header_internal_include (ValaSourceFile* self, co nst char* include); | |||
GeeCollection* vala_source_file_get_header_internal_includes (ValaSourceFil e* self); | GeeCollection* vala_source_file_get_header_internal_includes (ValaSourceFil e* self); | |||
GeeCollection* vala_source_file_get_source_external_includes (ValaSourceFil e* self); | GeeCollection* vala_source_file_get_source_external_includes (ValaSourceFil e* self); | |||
GeeCollection* vala_source_file_get_source_internal_includes (ValaSourceFil e* self); | GeeCollection* vala_source_file_get_source_internal_includes (ValaSourceFil e* self); | |||
GeeCollection* vala_source_file_get_header_internal_full_dependencies (Vala SourceFile* self); | GeeCollection* vala_source_file_get_header_internal_full_dependencies (Vala SourceFile* self); | |||
GeeCollection* vala_source_file_get_header_internal_dependencies (ValaSourc eFile* self); | GeeCollection* vala_source_file_get_header_internal_dependencies (ValaSourc eFile* self); | |||
char* vala_source_file_get_filename (ValaSourceFile* self); | char* vala_source_file_get_filename (ValaSourceFile* self); | |||
void vala_source_file_set_filename (ValaSourceFile* self, const char* value ); | void vala_source_file_set_filename (ValaSourceFile* self, const char* value ); | |||
char* vala_source_file_get_comment (ValaSourceFile* self); | char* vala_source_file_get_comment (ValaSourceFile* self); | |||
End of changes. 3 change blocks. | ||||
2 lines changed or deleted | 3 lines changed or added | |||
valasourcefilecycle.h | valasourcefilecycle.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_SOURCE_FILE_CYCLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_SOURCE_FILE_CYCLE)) | #define VALA_IS_SOURCE_FILE_CYCLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_SOURCE_FILE_CYCLE)) | |||
#define VALA_IS_SOURCE_FILE_CYCLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_SOURCE_FILE_CYCLE)) | #define VALA_IS_SOURCE_FILE_CYCLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_SOURCE_FILE_CYCLE)) | |||
#define VALA_SOURCE_FILE_CYCLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_SOURCE_FILE_CYCLE, ValaSourceFileCycleClass)) | #define VALA_SOURCE_FILE_CYCLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_SOURCE_FILE_CYCLE, ValaSourceFileCycleClass)) | |||
typedef struct _ValaSourceFileCyclePrivate ValaSourceFileCyclePrivate; | typedef struct _ValaSourceFileCyclePrivate ValaSourceFileCyclePrivate; | |||
/** | /** | |||
* Represents a dependency cycle of source files. | * Represents a dependency cycle of source files. | |||
*/ | */ | |||
struct _ValaSourceFileCycle { | struct _ValaSourceFileCycle { | |||
GObject parent; | GObject parent_instance; | |||
ValaSourceFileCyclePrivate * priv; | ValaSourceFileCyclePrivate * priv; | |||
GeeList* files; | GeeList* files; | |||
ValaSourceFile* head; | ValaSourceFile* head; | |||
}; | }; | |||
struct _ValaSourceFileCycleClass { | struct _ValaSourceFileCycleClass { | |||
GObjectClass parent; | GObjectClass parent_class; | |||
}; | }; | |||
ValaSourceFileCycle* vala_source_file_cycle_new (void); | ValaSourceFileCycle* vala_source_file_cycle_new (void); | |||
GType vala_source_file_cycle_get_type (void); | GType vala_source_file_cycle_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valasourcereference.h | valasourcereference.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
#define VALA_IS_SOURCE_REFERENCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_SOURCE_REFERENCE)) | #define VALA_IS_SOURCE_REFERENCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_SOURCE_REFERENCE)) | |||
#define VALA_IS_SOURCE_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_SOURCE_REFERENCE)) | #define VALA_IS_SOURCE_REFERENCE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_SOURCE_REFERENCE)) | |||
#define VALA_SOURCE_REFERENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_SOURCE_REFERENCE, ValaSourceReferenceClass)) | #define VALA_SOURCE_REFERENCE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_SOURCE_REFERENCE, ValaSourceReferenceClass)) | |||
typedef struct _ValaSourceReferencePrivate ValaSourceReferencePrivate; | typedef struct _ValaSourceReferencePrivate ValaSourceReferencePrivate; | |||
/** | /** | |||
* Represents a reference to a location in a source file. | * Represents a reference to a location in a source file. | |||
*/ | */ | |||
struct _ValaSourceReference { | struct _ValaSourceReference { | |||
GObject parent; | GObject parent_instance; | |||
ValaSourceReferencePrivate * priv; | ValaSourceReferencePrivate * priv; | |||
}; | }; | |||
struct _ValaSourceReferenceClass { | struct _ValaSourceReferenceClass { | |||
GObjectClass parent; | GObjectClass parent_class; | |||
}; | }; | |||
ValaSourceReference* vala_source_reference_new (ValaSourceFile* _file, gint _first_line, gint _first_column, gint _last_line, gint _last_column); | ValaSourceReference* vala_source_reference_new (ValaSourceFile* _file, gint _first_line, gint _first_column, gint _last_line, gint _last_column); | |||
ValaSourceReference* vala_source_reference_new_with_comment (ValaSourceFile * _file, gint _first_line, gint _first_column, gint _last_line, gint _last_ column, const char* _comment); | ValaSourceReference* vala_source_reference_new_with_comment (ValaSourceFile * _file, gint _first_line, gint _first_column, gint _last_line, gint _last_ column, const char* _comment); | |||
char* vala_source_reference_to_string (ValaSourceReference* self); | char* vala_source_reference_to_string (ValaSourceReference* self); | |||
ValaSourceFile* vala_source_reference_get_file (ValaSourceReference* self); | ValaSourceFile* vala_source_reference_get_file (ValaSourceReference* self); | |||
void vala_source_reference_set_file (ValaSourceReference* self, ValaSourceF ile* value); | void vala_source_reference_set_file (ValaSourceReference* self, ValaSourceF ile* value); | |||
gint vala_source_reference_get_first_line (ValaSourceReference* self); | gint vala_source_reference_get_first_line (ValaSourceReference* self); | |||
void vala_source_reference_set_first_line (ValaSourceReference* self, gint value); | void vala_source_reference_set_first_line (ValaSourceReference* self, gint value); | |||
gint vala_source_reference_get_first_column (ValaSourceReference* self); | gint vala_source_reference_get_first_column (ValaSourceReference* self); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valastatement.h | valastatement.h | |||
---|---|---|---|---|
skipping to change at line 41 | skipping to change at line 41 | |||
#define VALA_TYPE_STATEMENT (vala_statement_get_type ()) | #define VALA_TYPE_STATEMENT (vala_statement_get_type ()) | |||
#define VALA_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_S TATEMENT, ValaStatement)) | #define VALA_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_S TATEMENT, ValaStatement)) | |||
#define VALA_IS_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP E_STATEMENT)) | #define VALA_IS_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP E_STATEMENT)) | |||
#define VALA_STATEMENT_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE (( obj), VALA_TYPE_STATEMENT, ValaStatementIface)) | #define VALA_STATEMENT_GET_INTERFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE (( obj), VALA_TYPE_STATEMENT, ValaStatementIface)) | |||
/** | /** | |||
* Interface for all statement types. | * Interface for all statement types. | |||
*/ | */ | |||
struct _ValaStatementIface { | struct _ValaStatementIface { | |||
GTypeInterface parent; | GTypeInterface parent_iface; | |||
}; | }; | |||
GType vala_statement_get_type (void); | GType vala_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
valastringliteral.h | valastringliteral.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_IS_STRING_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_STRING_LITERAL)) | #define VALA_IS_STRING_LITERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_STRING_LITERAL)) | |||
#define VALA_IS_STRING_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_STRING_LITERAL)) | #define VALA_IS_STRING_LITERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_STRING_LITERAL)) | |||
#define VALA_STRING_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_STRING_LITERAL, ValaStringLiteralClass)) | #define VALA_STRING_LITERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_STRING_LITERAL, ValaStringLiteralClass)) | |||
typedef struct _ValaStringLiteralPrivate ValaStringLiteralPrivate; | typedef struct _ValaStringLiteralPrivate ValaStringLiteralPrivate; | |||
/** | /** | |||
* Represents a string literal in the source code. | * Represents a string literal in the source code. | |||
*/ | */ | |||
struct _ValaStringLiteral { | struct _ValaStringLiteral { | |||
ValaLiteral parent; | ValaLiteral parent_instance; | |||
ValaStringLiteralPrivate * priv; | ValaStringLiteralPrivate * priv; | |||
}; | }; | |||
struct _ValaStringLiteralClass { | struct _ValaStringLiteralClass { | |||
ValaLiteralClass parent; | ValaLiteralClass parent_class; | |||
}; | }; | |||
ValaStringLiteral* vala_string_literal_new (const char* s, ValaSourceRefere nce* source); | ValaStringLiteral* vala_string_literal_new (const char* s, ValaSourceRefere nce* source); | |||
char* vala_string_literal_eval (ValaStringLiteral* self); | char* vala_string_literal_eval (ValaStringLiteral* self); | |||
char* vala_string_literal_get_value (ValaStringLiteral* self); | char* vala_string_literal_get_value (ValaStringLiteral* self); | |||
void vala_string_literal_set_value (ValaStringLiteral* self, const char* va lue); | void vala_string_literal_set_value (ValaStringLiteral* self, const char* va lue); | |||
GType vala_string_literal_get_type (void); | GType vala_string_literal_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valastruct.h | valastruct.h | |||
---|---|---|---|---|
/* valastruct.vala | /* valastruct.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter | * Copyright (C) 2006-2008 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 31 | skipping to change at line 31 | |||
*/ | */ | |||
#ifndef __VALA_VALASTRUCT_H__ | #ifndef __VALA_VALASTRUCT_H__ | |||
#define __VALA_VALASTRUCT_H__ | #define __VALA_VALASTRUCT_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <gee/collection.h> | #include <gee/collection.h> | |||
#include <vala/valadatatype.h> | #include <vala/valatypesymbol.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_STRUCT (vala_struct_get_type ()) | #define VALA_TYPE_STRUCT (vala_struct_get_type ()) | |||
#define VALA_STRUCT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_STRU CT, ValaStruct)) | #define VALA_STRUCT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_STRU CT, ValaStruct)) | |||
#define VALA_STRUCT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_STRUCT, ValaStructClass)) | #define VALA_STRUCT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TY PE_STRUCT, ValaStructClass)) | |||
#define VALA_IS_STRUCT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_S TRUCT)) | #define VALA_IS_STRUCT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_S TRUCT)) | |||
#define VALA_IS_STRUCT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_STRUCT)) | #define VALA_IS_STRUCT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_STRUCT)) | |||
#define VALA_STRUCT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_STRUCT, ValaStructClass)) | #define VALA_STRUCT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_STRUCT, ValaStructClass)) | |||
typedef struct _ValaStructPrivate ValaStructPrivate; | typedef struct _ValaStructPrivate ValaStructPrivate; | |||
/** | /** | |||
* Represents a struct declaration in the source code. | * Represents a struct declaration in the source code. | |||
*/ | */ | |||
struct _ValaStruct { | struct _ValaStruct { | |||
ValaDataType parent; | ValaTypesymbol parent_instance; | |||
ValaStructPrivate * priv; | ValaStructPrivate * priv; | |||
}; | }; | |||
struct _ValaStructClass { | struct _ValaStructClass { | |||
ValaDataTypeClass parent; | ValaTypesymbolClass parent_class; | |||
}; | }; | |||
ValaStruct* vala_struct_new (const char* name, ValaSourceReference* source_ reference); | ValaStruct* vala_struct_new (const char* name, ValaSourceReference* source_ reference); | |||
void vala_struct_add_type_parameter (ValaStruct* self, ValaTypeParameter* p ); | void vala_struct_add_type_parameter (ValaStruct* self, ValaTypeParameter* p ); | |||
void vala_struct_add_constant (ValaStruct* self, ValaConstant* c); | void vala_struct_add_constant (ValaStruct* self, ValaConstant* c); | |||
void vala_struct_add_field (ValaStruct* self, ValaField* f); | void vala_struct_add_field (ValaStruct* self, ValaField* f); | |||
GeeCollection* vala_struct_get_fields (ValaStruct* self); | GeeCollection* vala_struct_get_fields (ValaStruct* self); | |||
void vala_struct_add_method (ValaStruct* self, ValaMethod* m); | void vala_struct_add_method (ValaStruct* self, ValaMethod* m); | |||
GeeCollection* vala_struct_get_methods (ValaStruct* self); | GeeCollection* vala_struct_get_methods (ValaStruct* self); | |||
gboolean vala_struct_is_integer_type (ValaStruct* self); | gboolean vala_struct_is_integer_type (ValaStruct* self); | |||
gboolean vala_struct_is_floating_type (ValaStruct* self); | gboolean vala_struct_is_floating_type (ValaStruct* self); | |||
gint vala_struct_get_rank (ValaStruct* self); | gint vala_struct_get_rank (ValaStruct* self); | |||
void vala_struct_process_attributes (ValaStruct* self); | void vala_struct_process_attributes (ValaStruct* self); | |||
void vala_struct_set_type_id (ValaStruct* self, const char* name); | void vala_struct_set_type_id (ValaStruct* self, const char* name); | |||
void vala_struct_add_base_type (ValaStruct* self, ValaTypeReference* type); | void vala_struct_add_base_type (ValaStruct* self, ValaDataType* type); | |||
GeeCollection* vala_struct_get_base_types (ValaStruct* self); | GeeCollection* vala_struct_get_base_types (ValaStruct* self); | |||
gboolean vala_struct_is_simple_type (ValaStruct* self); | gboolean vala_struct_is_simple_type (ValaStruct* self); | |||
void vala_struct_set_simple_type (ValaStruct* self, gboolean simple_type); | ||||
ValaMethod* vala_struct_get_default_construction_method (ValaStruct* self); | ValaMethod* vala_struct_get_default_construction_method (ValaStruct* self); | |||
void vala_struct_set_default_construction_method (ValaStruct* self, ValaMet hod* value); | void vala_struct_set_default_construction_method (ValaStruct* self, ValaMet hod* value); | |||
GType vala_struct_get_type (void); | GType vala_struct_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 6 change blocks. | ||||
5 lines changed or deleted | 6 lines changed or added | |||
valaswitchlabel.h | valaswitchlabel.h | |||
---|---|---|---|---|
skipping to change at line 45 | skipping to change at line 45 | |||
#define VALA_IS_SWITCH_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_SWITCH_LABEL)) | #define VALA_IS_SWITCH_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_ TYPE_SWITCH_LABEL)) | |||
#define VALA_IS_SWITCH_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_SWITCH_LABEL)) | #define VALA_IS_SWITCH_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass) , VALA_TYPE_SWITCH_LABEL)) | |||
#define VALA_SWITCH_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_SWITCH_LABEL, ValaSwitchLabelClass)) | #define VALA_SWITCH_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_SWITCH_LABEL, ValaSwitchLabelClass)) | |||
typedef struct _ValaSwitchLabelPrivate ValaSwitchLabelPrivate; | typedef struct _ValaSwitchLabelPrivate ValaSwitchLabelPrivate; | |||
/** | /** | |||
* Represents a switch label in the source code. | * Represents a switch label in the source code. | |||
*/ | */ | |||
struct _ValaSwitchLabel { | struct _ValaSwitchLabel { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaSwitchLabelPrivate * priv; | ValaSwitchLabelPrivate * priv; | |||
}; | }; | |||
struct _ValaSwitchLabelClass { | struct _ValaSwitchLabelClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaSwitchLabel* vala_switch_label_new (ValaExpression* expr, ValaSourceRef erence* source); | ValaSwitchLabel* vala_switch_label_new (ValaExpression* expr, ValaSourceRef erence* source); | |||
ValaSwitchLabel* vala_switch_label_new_with_default (ValaSourceReference* s ource); | ValaSwitchLabel* vala_switch_label_new_with_default (ValaSourceReference* s ource); | |||
ValaExpression* vala_switch_label_get_expression (ValaSwitchLabel* self); | ValaExpression* vala_switch_label_get_expression (ValaSwitchLabel* self); | |||
void vala_switch_label_set_expression (ValaSwitchLabel* self, ValaExpressio n* value); | void vala_switch_label_set_expression (ValaSwitchLabel* self, ValaExpressio n* value); | |||
GType vala_switch_label_get_type (void); | GType vala_switch_label_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaswitchsection.h | valaswitchsection.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
#define VALA_IS_SWITCH_SECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_SWITCH_SECTION)) | #define VALA_IS_SWITCH_SECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL A_TYPE_SWITCH_SECTION)) | |||
#define VALA_IS_SWITCH_SECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_SWITCH_SECTION)) | #define VALA_IS_SWITCH_SECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas s), VALA_TYPE_SWITCH_SECTION)) | |||
#define VALA_SWITCH_SECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_SWITCH_SECTION, ValaSwitchSectionClass)) | #define VALA_SWITCH_SECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj ), VALA_TYPE_SWITCH_SECTION, ValaSwitchSectionClass)) | |||
typedef struct _ValaSwitchSectionPrivate ValaSwitchSectionPrivate; | typedef struct _ValaSwitchSectionPrivate ValaSwitchSectionPrivate; | |||
/** | /** | |||
* Represents a switch section in the source code. | * Represents a switch section in the source code. | |||
*/ | */ | |||
struct _ValaSwitchSection { | struct _ValaSwitchSection { | |||
ValaBlock parent; | ValaBlock parent_instance; | |||
ValaSwitchSectionPrivate * priv; | ValaSwitchSectionPrivate * priv; | |||
}; | }; | |||
struct _ValaSwitchSectionClass { | struct _ValaSwitchSectionClass { | |||
ValaBlockClass parent; | ValaBlockClass parent_class; | |||
}; | }; | |||
ValaSwitchSection* vala_switch_section_new (ValaSourceReference* source_ref erence); | ValaSwitchSection* vala_switch_section_new (ValaSourceReference* source_ref erence); | |||
void vala_switch_section_add_label (ValaSwitchSection* self, ValaSwitchLabe l* label); | void vala_switch_section_add_label (ValaSwitchSection* self, ValaSwitchLabe l* label); | |||
GeeCollection* vala_switch_section_get_labels (ValaSwitchSection* self); | GeeCollection* vala_switch_section_get_labels (ValaSwitchSection* self); | |||
gboolean vala_switch_section_has_default_label (ValaSwitchSection* self); | gboolean vala_switch_section_has_default_label (ValaSwitchSection* self); | |||
void vala_switch_section_add_statement (ValaSwitchSection* self, ValaStatem ent* stmt); | void vala_switch_section_add_statement (ValaSwitchSection* self, ValaStatem ent* stmt); | |||
GeeCollection* vala_switch_section_get_statements (ValaSwitchSection* self) ; | GeeCollection* vala_switch_section_get_statements (ValaSwitchSection* self) ; | |||
GType vala_switch_section_get_type (void); | GType vala_switch_section_get_type (void); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valaswitchstatement.h | valaswitchstatement.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
#define VALA_IS_SWITCH_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_SWITCH_STATEMENT)) | #define VALA_IS_SWITCH_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), V ALA_TYPE_SWITCH_STATEMENT)) | |||
#define VALA_IS_SWITCH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_SWITCH_STATEMENT)) | #define VALA_IS_SWITCH_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kl ass), VALA_TYPE_SWITCH_STATEMENT)) | |||
#define VALA_SWITCH_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_SWITCH_STATEMENT, ValaSwitchStatementClass)) | #define VALA_SWITCH_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_SWITCH_STATEMENT, ValaSwitchStatementClass)) | |||
typedef struct _ValaSwitchStatementPrivate ValaSwitchStatementPrivate; | typedef struct _ValaSwitchStatementPrivate ValaSwitchStatementPrivate; | |||
/** | /** | |||
* Represents a switch selection statement in the source code. | * Represents a switch selection statement in the source code. | |||
*/ | */ | |||
struct _ValaSwitchStatement { | struct _ValaSwitchStatement { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaSwitchStatementPrivate * priv; | ValaSwitchStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaSwitchStatementClass { | struct _ValaSwitchStatementClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaSwitchStatement* vala_switch_statement_new (ValaExpression* expression, ValaSourceReference* source_reference); | ValaSwitchStatement* vala_switch_statement_new (ValaExpression* expression, ValaSourceReference* source_reference); | |||
void vala_switch_statement_add_section (ValaSwitchStatement* self, ValaSwit chSection* section); | void vala_switch_statement_add_section (ValaSwitchStatement* self, ValaSwit chSection* section); | |||
GeeCollection* vala_switch_statement_get_sections (ValaSwitchStatement* sel f); | GeeCollection* vala_switch_statement_get_sections (ValaSwitchStatement* sel f); | |||
ValaExpression* vala_switch_statement_get_expression (ValaSwitchStatement* self); | ValaExpression* vala_switch_statement_get_expression (ValaSwitchStatement* self); | |||
void vala_switch_statement_set_expression (ValaSwitchStatement* self, ValaE xpression* value); | void vala_switch_statement_set_expression (ValaSwitchStatement* self, ValaE xpression* value); | |||
GType vala_switch_statement_get_type (void); | GType vala_switch_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valasymbol.h | valasymbol.h | |||
---|---|---|---|---|
skipping to change at line 48 | skipping to change at line 48 | |||
#define VALA_IS_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_S YMBOL)) | #define VALA_IS_SYMBOL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_S YMBOL)) | |||
#define VALA_IS_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_SYMBOL)) | #define VALA_IS_SYMBOL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA _TYPE_SYMBOL)) | |||
#define VALA_SYMBOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_SYMBOL, ValaSymbolClass)) | #define VALA_SYMBOL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_ TYPE_SYMBOL, ValaSymbolClass)) | |||
typedef struct _ValaSymbolPrivate ValaSymbolPrivate; | typedef struct _ValaSymbolPrivate ValaSymbolPrivate; | |||
/** | /** | |||
* Represents a node in the symbol tree. | * Represents a node in the symbol tree. | |||
*/ | */ | |||
struct _ValaSymbol { | struct _ValaSymbol { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaSymbolPrivate * priv; | ValaSymbolPrivate * priv; | |||
}; | }; | |||
struct _ValaSymbolClass { | struct _ValaSymbolClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
char* (*get_cprefix) (ValaSymbol* self); | char* (*get_cprefix) (ValaSymbol* self); | |||
char* (*get_lower_case_cname) (ValaSymbol* self, const char* infix); | char* (*get_lower_case_cname) (ValaSymbol* self, const char* infix); | |||
char* (*get_lower_case_cprefix) (ValaSymbol* self); | char* (*get_lower_case_cprefix) (ValaSymbol* self); | |||
GeeCollection* (*get_cheader_filenames) (ValaSymbol* self); | GeeCollection* (*get_cheader_filenames) (ValaSymbol* self); | |||
}; | }; | |||
typedef enum { | typedef enum { | |||
VALA_SYMBOL_ACCESSIBILITY_PRIVATE, | VALA_SYMBOL_ACCESSIBILITY_PRIVATE, | |||
VALA_SYMBOL_ACCESSIBILITY_INTERNAL, | VALA_SYMBOL_ACCESSIBILITY_INTERNAL, | |||
VALA_SYMBOL_ACCESSIBILITY_PROTECTED, | VALA_SYMBOL_ACCESSIBILITY_PROTECTED, | |||
VALA_SYMBOL_ACCESSIBILITY_PUBLIC | VALA_SYMBOL_ACCESSIBILITY_PUBLIC | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valasymbolresolver.h | valasymbolresolver.h | |||
---|---|---|---|---|
/* valasymbolresolver.vala | /* valasymbolresolver.vala | |||
* | * | |||
* Copyright (C) 2006-2007 Jürg Billeter, Raffaele Sandrini | * Copyright (C) 2006-2008 Jürg Billeter, Raffaele Sandrini | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 36 | skipping to change at line 36 | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valacodevisitor.h> | #include <vala/valacodevisitor.h> | |||
#include <vala/valacodecontext.h> | #include <vala/valacodecontext.h> | |||
#include <vala/valasourcefile.h> | #include <vala/valasourcefile.h> | |||
#include <vala/valaclass.h> | #include <vala/valaclass.h> | |||
#include <vala/valastruct.h> | #include <vala/valastruct.h> | |||
#include <vala/valainterface.h> | #include <vala/valainterface.h> | |||
#include <vala/valaenum.h> | #include <vala/valaenum.h> | |||
#include <vala/valacallback.h> | #include <vala/valadelegate.h> | |||
#include <vala/valaconstant.h> | #include <vala/valaconstant.h> | |||
#include <vala/valafield.h> | #include <vala/valafield.h> | |||
#include <vala/valamethod.h> | #include <vala/valamethod.h> | |||
#include <vala/valacreationmethod.h> | #include <vala/valacreationmethod.h> | |||
#include <vala/valaformalparameter.h> | #include <vala/valaformalparameter.h> | |||
#include <vala/valaproperty.h> | #include <vala/valaproperty.h> | |||
#include <vala/valapropertyaccessor.h> | #include <vala/valapropertyaccessor.h> | |||
#include <vala/valasignal.h> | #include <vala/valasignal.h> | |||
#include <vala/valaconstructor.h> | #include <vala/valaconstructor.h> | |||
#include <vala/valadestructor.h> | #include <vala/valadestructor.h> | |||
#include <vala/valablock.h> | #include <vala/valablock.h> | |||
#include <vala/valanamespacereference.h> | #include <vala/valanamespacereference.h> | |||
#include <vala/valatypereference.h> | #include <vala/valadatatype.h> | |||
#include <vala/valavariabledeclarator.h> | #include <vala/valavariabledeclarator.h> | |||
#include <vala/valainitializerlist.h> | #include <vala/valainitializerlist.h> | |||
#include <vala/valaswitchsection.h> | #include <vala/valaswitchsection.h> | |||
#include <vala/valaforeachstatement.h> | #include <vala/valaforeachstatement.h> | |||
#include <vala/valareturnstatement.h> | #include <vala/valareturnstatement.h> | |||
#include <vala/valathrowstatement.h> | #include <vala/valathrowstatement.h> | |||
#include <vala/valatrystatement.h> | #include <vala/valatrystatement.h> | |||
#include <vala/valacatchclause.h> | #include <vala/valacatchclause.h> | |||
#include <vala/valaarraycreationexpression.h> | #include <vala/valaarraycreationexpression.h> | |||
#include <vala/valainvocationexpression.h> | #include <vala/valainvocationexpression.h> | |||
skipping to change at line 81 | skipping to change at line 81 | |||
#define VALA_SYMBOL_RESOLVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_SYMBOL_RESOLVER, ValaSymbolResolverClass)) | #define VALA_SYMBOL_RESOLVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_SYMBOL_RESOLVER, ValaSymbolResolverClass)) | |||
typedef struct _ValaSymbolResolver ValaSymbolResolver; | typedef struct _ValaSymbolResolver ValaSymbolResolver; | |||
typedef struct _ValaSymbolResolverClass ValaSymbolResolverClass; | typedef struct _ValaSymbolResolverClass ValaSymbolResolverClass; | |||
typedef struct _ValaSymbolResolverPrivate ValaSymbolResolverPrivate; | typedef struct _ValaSymbolResolverPrivate ValaSymbolResolverPrivate; | |||
/** | /** | |||
* Code visitor resolving symbol names. | * Code visitor resolving symbol names. | |||
*/ | */ | |||
struct _ValaSymbolResolver { | struct _ValaSymbolResolver { | |||
ValaCodeVisitor parent; | ValaCodeVisitor parent_instance; | |||
ValaSymbolResolverPrivate * priv; | ValaSymbolResolverPrivate * priv; | |||
}; | }; | |||
struct _ValaSymbolResolverClass { | struct _ValaSymbolResolverClass { | |||
ValaCodeVisitorClass parent; | ValaCodeVisitorClass parent_class; | |||
}; | }; | |||
void vala_symbol_resolver_resolve (ValaSymbolResolver* self, ValaCodeContex t* context); | void vala_symbol_resolver_resolve (ValaSymbolResolver* self, ValaCodeContex t* context); | |||
ValaSymbolResolver* vala_symbol_resolver_new (void); | ValaSymbolResolver* vala_symbol_resolver_new (void); | |||
GType vala_symbol_resolver_get_type (void); | GType vala_symbol_resolver_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 5 change blocks. | ||||
5 lines changed or deleted | 5 lines changed or added | |||
valathrowstatement.h | valathrowstatement.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_THROW_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_THROW_STATEMENT)) | #define VALA_IS_THROW_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_THROW_STATEMENT)) | |||
#define VALA_IS_THROW_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_THROW_STATEMENT)) | #define VALA_IS_THROW_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_THROW_STATEMENT)) | |||
#define VALA_THROW_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_THROW_STATEMENT, ValaThrowStatementClass)) | #define VALA_THROW_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_THROW_STATEMENT, ValaThrowStatementClass)) | |||
typedef struct _ValaThrowStatementPrivate ValaThrowStatementPrivate; | typedef struct _ValaThrowStatementPrivate ValaThrowStatementPrivate; | |||
/** | /** | |||
* Represents a throw statement in the source code. | * Represents a throw statement in the source code. | |||
*/ | */ | |||
struct _ValaThrowStatement { | struct _ValaThrowStatement { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaThrowStatementPrivate * priv; | ValaThrowStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaThrowStatementClass { | struct _ValaThrowStatementClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaThrowStatement* vala_throw_statement_new (ValaExpression* error_express ion, ValaSourceReference* source_reference); | ValaThrowStatement* vala_throw_statement_new (ValaExpression* error_express ion, ValaSourceReference* source_reference); | |||
ValaExpression* vala_throw_statement_get_error_expression (ValaThrowStateme nt* self); | ValaExpression* vala_throw_statement_get_error_expression (ValaThrowStateme nt* self); | |||
void vala_throw_statement_set_error_expression (ValaThrowStatement* self, V alaExpression* value); | void vala_throw_statement_set_error_expression (ValaThrowStatement* self, V alaExpression* value); | |||
GType vala_throw_statement_get_type (void); | GType vala_throw_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valatrystatement.h | valatrystatement.h | |||
---|---|---|---|---|
skipping to change at line 47 | skipping to change at line 47 | |||
#define VALA_IS_TRY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA _TYPE_TRY_STATEMENT)) | #define VALA_IS_TRY_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA _TYPE_TRY_STATEMENT)) | |||
#define VALA_IS_TRY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), VALA_TYPE_TRY_STATEMENT)) | #define VALA_IS_TRY_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass ), VALA_TYPE_TRY_STATEMENT)) | |||
#define VALA_TRY_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_TRY_STATEMENT, ValaTryStatementClass)) | #define VALA_TRY_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) , VALA_TYPE_TRY_STATEMENT, ValaTryStatementClass)) | |||
typedef struct _ValaTryStatementPrivate ValaTryStatementPrivate; | typedef struct _ValaTryStatementPrivate ValaTryStatementPrivate; | |||
/** | /** | |||
* Represents a try statement in the source code. | * Represents a try statement in the source code. | |||
*/ | */ | |||
struct _ValaTryStatement { | struct _ValaTryStatement { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaTryStatementPrivate * priv; | ValaTryStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaTryStatementClass { | struct _ValaTryStatementClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaTryStatement* vala_try_statement_new (ValaBlock* body, ValaBlock* final ly_body, ValaSourceReference* source_reference); | ValaTryStatement* vala_try_statement_new (ValaBlock* body, ValaBlock* final ly_body, ValaSourceReference* source_reference); | |||
void vala_try_statement_add_catch_clause (ValaTryStatement* self, ValaCatch Clause* clause); | void vala_try_statement_add_catch_clause (ValaTryStatement* self, ValaCatch Clause* clause); | |||
GeeCollection* vala_try_statement_get_catch_clauses (ValaTryStatement* self ); | GeeCollection* vala_try_statement_get_catch_clauses (ValaTryStatement* self ); | |||
ValaBlock* vala_try_statement_get_body (ValaTryStatement* self); | ValaBlock* vala_try_statement_get_body (ValaTryStatement* self); | |||
void vala_try_statement_set_body (ValaTryStatement* self, ValaBlock* value) ; | void vala_try_statement_set_body (ValaTryStatement* self, ValaBlock* value) ; | |||
ValaBlock* vala_try_statement_get_finally_body (ValaTryStatement* self); | ValaBlock* vala_try_statement_get_finally_body (ValaTryStatement* self); | |||
void vala_try_statement_set_finally_body (ValaTryStatement* self, ValaBlock * value); | void vala_try_statement_set_finally_body (ValaTryStatement* self, ValaBlock * value); | |||
GType vala_try_statement_get_type (void); | GType vala_try_statement_get_type (void); | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||
valatypecheck.h | valatypecheck.h | |||
---|---|---|---|---|
/* valatypecheck.vala | /* valatypecheck.vala | |||
* | * | |||
* Copyright (C) 2006 Jürg Billeter | * Copyright (C) 2006-2007 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 33 | skipping to change at line 33 | |||
#ifndef __VALA_VALATYPECHECK_H__ | #ifndef __VALA_VALATYPECHECK_H__ | |||
#define __VALA_VALATYPECHECK_H__ | #define __VALA_VALATYPECHECK_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valaexpression.h> | #include <vala/valaexpression.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_TYPE_CHECK (vala_type_check_get_type ()) | #define VALA_TYPE_TYPECHECK (vala_typecheck_get_type ()) | |||
#define VALA_TYPE_CHECK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ | #define VALA_TYPECHECK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_T | |||
TYPE_CHECK, ValaTypeCheck)) | YPECHECK, ValaTypeCheck)) | |||
#define VALA_TYPE_CHECK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VAL | #define VALA_TYPECHECK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA | |||
A_TYPE_TYPE_CHECK, ValaTypeCheckClass)) | _TYPE_TYPECHECK, ValaTypeCheckClass)) | |||
#define VALA_IS_TYPE_CHECK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TY | #define VALA_IS_TYPECHECK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYP | |||
PE_TYPE_CHECK)) | E_TYPECHECK)) | |||
#define VALA_IS_TYPE_CHECK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), | #define VALA_IS_TYPECHECK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), V | |||
VALA_TYPE_TYPE_CHECK)) | ALA_TYPE_TYPECHECK)) | |||
#define VALA_TYPE_CHECK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), V | #define VALA_TYPECHECK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VA | |||
ALA_TYPE_TYPE_CHECK, ValaTypeCheckClass)) | LA_TYPE_TYPECHECK, ValaTypeCheckClass)) | |||
typedef struct _ValaTypeCheckPrivate ValaTypeCheckPrivate; | typedef struct _ValaTypeCheckPrivate ValaTypeCheckPrivate; | |||
/** | /** | |||
* Represents a type check (`is') expression in the source code. | * Represents a type check (`is') expression in the source code. | |||
*/ | */ | |||
struct _ValaTypeCheck { | struct _ValaTypeCheck { | |||
ValaExpression parent; | ValaExpression parent_instance; | |||
ValaTypeCheckPrivate * priv; | ValaTypeCheckPrivate * priv; | |||
}; | }; | |||
struct _ValaTypeCheckClass { | struct _ValaTypeCheckClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent_class; | |||
}; | }; | |||
ValaTypeCheck* vala_type_check_new (ValaExpression* expr, ValaTypeReference | ValaTypeCheck* vala_typecheck_new (ValaExpression* expr, ValaDataType* type | |||
* type, ValaSourceReference* source); | , ValaSourceReference* source); | |||
ValaExpression* vala_type_check_get_expression (ValaTypeCheck* self); | ValaExpression* vala_typecheck_get_expression (ValaTypeCheck* self); | |||
void vala_type_check_set_expression (ValaTypeCheck* self, ValaExpression* v | void vala_typecheck_set_expression (ValaTypeCheck* self, ValaExpression* va | |||
alue); | lue); | |||
ValaTypeReference* vala_type_check_get_type_reference (ValaTypeCheck* self) | ValaDataType* vala_typecheck_get_type_reference (ValaTypeCheck* self); | |||
; | void vala_typecheck_set_type_reference (ValaTypeCheck* self, ValaDataType* | |||
void vala_type_check_set_type_reference (ValaTypeCheck* self, ValaTypeRefer | value); | |||
ence* value); | GType vala_typecheck_get_type (void); | |||
GType vala_type_check_get_type (void); | ||||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 5 change blocks. | ||||
24 lines changed or deleted | 23 lines changed or added | |||
valatypeofexpression.h | valatypeofexpression.h | |||
---|---|---|---|---|
/* valatypeofexpression.vala | /* valatypeofexpression.vala | |||
* | * | |||
* Copyright (C) 2006 Jürg Billeter | * Copyright (C) 2006-2007 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_TYPEOF_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_TYPEOF_EXPRESSION)) | #define VALA_IS_TYPEOF_EXPRESSION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_TYPEOF_EXPRESSION)) | |||
#define VALA_IS_TYPEOF_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_TYPEOF_EXPRESSION)) | #define VALA_IS_TYPEOF_EXPRESSION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((k lass), VALA_TYPE_TYPEOF_EXPRESSION)) | |||
#define VALA_TYPEOF_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_TYPEOF_EXPRESSION, ValaTypeofExpressionClass)) | #define VALA_TYPEOF_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS (( obj), VALA_TYPE_TYPEOF_EXPRESSION, ValaTypeofExpressionClass)) | |||
typedef struct _ValaTypeofExpressionPrivate ValaTypeofExpressionPrivate; | typedef struct _ValaTypeofExpressionPrivate ValaTypeofExpressionPrivate; | |||
/** | /** | |||
* Represents a typeof expression in the source code. | * Represents a typeof expression in the source code. | |||
*/ | */ | |||
struct _ValaTypeofExpression { | struct _ValaTypeofExpression { | |||
ValaExpression parent; | ValaExpression parent_instance; | |||
ValaTypeofExpressionPrivate * priv; | ValaTypeofExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaTypeofExpressionClass { | struct _ValaTypeofExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent_class; | |||
}; | }; | |||
ValaTypeofExpression* vala_typeof_expression_new (ValaTypeReference* type, | ValaTypeofExpression* vala_typeof_expression_new (ValaDataType* type, ValaS | |||
ValaSourceReference* source); | ourceReference* source); | |||
ValaTypeReference* vala_typeof_expression_get_type_reference (ValaTypeofExp | ValaDataType* vala_typeof_expression_get_type_reference (ValaTypeofExpressi | |||
ression* self); | on* self); | |||
void vala_typeof_expression_set_type_reference (ValaTypeofExpression* self, | void vala_typeof_expression_set_type_reference (ValaTypeofExpression* self, | |||
ValaTypeReference* value); | ValaDataType* value); | |||
GType vala_typeof_expression_get_type (void); | GType vala_typeof_expression_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 4 change blocks. | ||||
9 lines changed or deleted | 9 lines changed or added | |||
valatypeparameter.h | valatypeparameter.h | |||
---|---|---|---|---|
skipping to change at line 35 | skipping to change at line 35 | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <vala/valasymbol.h> | #include <vala/valasymbol.h> | |||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_TYPE_PARAMETER (vala_type_parameter_get_type ()) | #define VALA_TYPE_TYPEPARAMETER (vala_typeparameter_get_type ()) | |||
#define VALA_TYPE_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_T | #define VALA_TYPEPARAMETER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TY | |||
YPE_TYPE_PARAMETER, ValaTypeParameter)) | PE_TYPEPARAMETER, ValaTypeParameter)) | |||
#define VALA_TYPE_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), | #define VALA_TYPEPARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), | |||
VALA_TYPE_TYPE_PARAMETER, ValaTypeParameterClass)) | VALA_TYPE_TYPEPARAMETER, ValaTypeParameterClass)) | |||
#define VALA_IS_TYPE_PARAMETER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VAL | #define VALA_IS_TYPEPARAMETER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA | |||
A_TYPE_TYPE_PARAMETER)) | _TYPE_TYPEPARAMETER)) | |||
#define VALA_IS_TYPE_PARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klas | #define VALA_IS_TYPEPARAMETER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass | |||
s), VALA_TYPE_TYPE_PARAMETER)) | ), VALA_TYPE_TYPEPARAMETER)) | |||
#define VALA_TYPE_PARAMETER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj | #define VALA_TYPEPARAMETER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj) | |||
), VALA_TYPE_TYPE_PARAMETER, ValaTypeParameterClass)) | , VALA_TYPE_TYPEPARAMETER, ValaTypeParameterClass)) | |||
typedef struct _ValaTypeParameterPrivate ValaTypeParameterPrivate; | typedef struct _ValaTypeParameterPrivate ValaTypeParameterPrivate; | |||
/** | /** | |||
* Represents a generic type parameter in the source code. | * Represents a generic type parameter in the source code. | |||
*/ | */ | |||
struct _ValaTypeParameter { | struct _ValaTypeParameter { | |||
ValaSymbol parent; | ValaSymbol parent_instance; | |||
ValaTypeParameterPrivate * priv; | ValaTypeParameterPrivate * priv; | |||
ValaDataType* type; | ValaTypesymbol* type; | |||
}; | }; | |||
struct _ValaTypeParameterClass { | struct _ValaTypeParameterClass { | |||
ValaSymbolClass parent; | ValaSymbolClass parent_class; | |||
}; | }; | |||
ValaTypeParameter* vala_type_parameter_new (const char* _name, ValaSourceRe | ValaTypeParameter* vala_typeparameter_new (const char* _name, ValaSourceRef | |||
ference* source); | erence* source); | |||
ValaArray* vala_type_parameter_get_array (ValaTypeParameter* self, gint ran | ValaArray* vala_typeparameter_get_array (ValaTypeParameter* self, gint rank | |||
k); | ); | |||
gboolean vala_type_parameter_equals (ValaTypeParameter* self, ValaTypeParam | gboolean vala_typeparameter_equals (ValaTypeParameter* self, ValaTypeParame | |||
eter* param2); | ter* param2); | |||
GType vala_type_parameter_get_type (void); | GType vala_typeparameter_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 5 change blocks. | ||||
21 lines changed or deleted | 21 lines changed or added | |||
valatyperegisterfunction.h | valatyperegisterfunction.h | |||
---|---|---|---|---|
skipping to change at line 28 | skipping to change at line 28 | |||
* | * | |||
* Author: | * Author: | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __GOBJECT_VALATYPEREGISTERFUNCTION_H__ | #ifndef __GOBJECT_VALATYPEREGISTERFUNCTION_H__ | |||
#define __GOBJECT_VALATYPEREGISTERFUNCTION_H__ | #define __GOBJECT_VALATYPEREGISTERFUNCTION_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <vala/valadatatype.h> | #include <vala/valatypesymbol.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <ccode/valaccodefragment.h> | #include <ccode/valaccodefragment.h> | |||
#include <vala/valasymbol.h> | #include <vala/valasymbol.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_TYPE_REGISTER_FUNCTION (vala_type_register_function_get_t | #define VALA_TYPE_TYPEREGISTER_FUNCTION (vala_typeregister_function_get_typ | |||
ype ()) | e ()) | |||
#define VALA_TYPE_REGISTER_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj) | #define VALA_TYPEREGISTER_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), | |||
, VALA_TYPE_TYPE_REGISTER_FUNCTION, ValaTypeRegisterFunction)) | VALA_TYPE_TYPEREGISTER_FUNCTION, ValaTypeRegisterFunction)) | |||
#define VALA_TYPE_REGISTER_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ( | #define VALA_TYPEREGISTER_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST (( | |||
(klass), VALA_TYPE_TYPE_REGISTER_FUNCTION, ValaTypeRegisterFunctionClass)) | klass), VALA_TYPE_TYPEREGISTER_FUNCTION, ValaTypeRegisterFunctionClass)) | |||
#define VALA_IS_TYPE_REGISTER_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((o | #define VALA_IS_TYPEREGISTER_FUNCTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((ob | |||
bj), VALA_TYPE_TYPE_REGISTER_FUNCTION)) | j), VALA_TYPE_TYPEREGISTER_FUNCTION)) | |||
#define VALA_IS_TYPE_REGISTER_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYP | #define VALA_IS_TYPEREGISTER_FUNCTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE | |||
E ((klass), VALA_TYPE_TYPE_REGISTER_FUNCTION)) | ((klass), VALA_TYPE_TYPEREGISTER_FUNCTION)) | |||
#define VALA_TYPE_REGISTER_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLA | #define VALA_TYPEREGISTER_FUNCTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLAS | |||
SS ((obj), VALA_TYPE_TYPE_REGISTER_FUNCTION, ValaTypeRegisterFunctionClass) | S ((obj), VALA_TYPE_TYPEREGISTER_FUNCTION, ValaTypeRegisterFunctionClass)) | |||
) | ||||
typedef struct _ValaTypeRegisterFunction ValaTypeRegisterFunction; | typedef struct _ValaTypeRegisterFunction ValaTypeRegisterFunction; | |||
typedef struct _ValaTypeRegisterFunctionClass ValaTypeRegisterFunctionClass ; | typedef struct _ValaTypeRegisterFunctionClass ValaTypeRegisterFunctionClass ; | |||
typedef struct _ValaTypeRegisterFunctionPrivate ValaTypeRegisterFunctionPri vate; | typedef struct _ValaTypeRegisterFunctionPrivate ValaTypeRegisterFunctionPri vate; | |||
/** | /** | |||
* C function to register a type at runtime. | * C function to register a type at runtime. | |||
*/ | */ | |||
struct _ValaTypeRegisterFunction { | struct _ValaTypeRegisterFunction { | |||
GObject parent; | GObject parent_instance; | |||
ValaTypeRegisterFunctionPrivate * priv; | ValaTypeRegisterFunctionPrivate * priv; | |||
}; | }; | |||
struct _ValaTypeRegisterFunctionClass { | struct _ValaTypeRegisterFunctionClass { | |||
GObjectClass parent; | GObjectClass parent_class; | |||
ValaDataType* (*get_type_declaration) (ValaTypeRegisterFunction* sel | ValaTypesymbol* (*get_type_declaration) (ValaTypeRegisterFunction* s | |||
f); | elf); | |||
char* (*get_type_struct_name) (ValaTypeRegisterFunction* self); | char* (*get_type_struct_name) (ValaTypeRegisterFunction* self); | |||
char* (*get_base_init_func_name) (ValaTypeRegisterFunction* self); | char* (*get_base_init_func_name) (ValaTypeRegisterFunction* self); | |||
char* (*get_class_init_func_name) (ValaTypeRegisterFunction* self); | char* (*get_class_init_func_name) (ValaTypeRegisterFunction* self); | |||
char* (*get_instance_struct_size) (ValaTypeRegisterFunction* self); | char* (*get_instance_struct_size) (ValaTypeRegisterFunction* self); | |||
char* (*get_instance_init_func_name) (ValaTypeRegisterFunction* self ); | char* (*get_instance_init_func_name) (ValaTypeRegisterFunction* self ); | |||
char* (*get_parent_type_name) (ValaTypeRegisterFunction* self); | char* (*get_parent_type_name) (ValaTypeRegisterFunction* self); | |||
char* (*get_type_flags) (ValaTypeRegisterFunction* self); | char* (*get_type_flags) (ValaTypeRegisterFunction* self); | |||
ValaCCodeFragment* (*get_type_interface_init_declaration) (ValaTypeR egisterFunction* self); | ValaCCodeFragment* (*get_type_interface_init_declaration) (ValaTypeR egisterFunction* self); | |||
ValaCCodeFragment* (*get_type_interface_init_statements) (ValaTypeRe gisterFunction* self); | ValaCCodeFragment* (*get_type_interface_init_statements) (ValaTypeRe gisterFunction* self); | |||
ValaSymbolAccessibility (*get_accessibility) (ValaTypeRegisterFuncti on* self); | ValaSymbolAccessibility (*get_accessibility) (ValaTypeRegisterFuncti on* self); | |||
}; | }; | |||
void vala_type_register_function_init_from_type (ValaTypeRegisterFunction* | void vala_typeregister_function_init_from_type (ValaTypeRegisterFunction* s | |||
self, gboolean plugin); | elf, gboolean plugin); | |||
ValaDataType* vala_type_register_function_get_type_declaration (ValaTypeReg | ValaTypesymbol* vala_typeregister_function_get_type_declaration (ValaTypeRe | |||
isterFunction* self); | gisterFunction* self); | |||
char* vala_type_register_function_get_type_struct_name (ValaTypeRegisterFun | char* vala_typeregister_function_get_type_struct_name (ValaTypeRegisterFunc | |||
ction* self); | tion* self); | |||
char* vala_type_register_function_get_base_init_func_name (ValaTypeRegister | char* vala_typeregister_function_get_base_init_func_name (ValaTypeRegisterF | |||
Function* self); | unction* self); | |||
char* vala_type_register_function_get_class_init_func_name (ValaTypeRegiste | char* vala_typeregister_function_get_class_init_func_name (ValaTypeRegister | |||
rFunction* self); | Function* self); | |||
char* vala_type_register_function_get_instance_struct_size (ValaTypeRegiste | char* vala_typeregister_function_get_instance_struct_size (ValaTypeRegister | |||
rFunction* self); | Function* self); | |||
char* vala_type_register_function_get_instance_init_func_name (ValaTypeRegi | char* vala_typeregister_function_get_instance_init_func_name (ValaTypeRegis | |||
sterFunction* self); | terFunction* self); | |||
char* vala_type_register_function_get_parent_type_name (ValaTypeRegisterFun | char* vala_typeregister_function_get_parent_type_name (ValaTypeRegisterFunc | |||
ction* self); | tion* self); | |||
char* vala_type_register_function_get_type_flags (ValaTypeRegisterFunction* | char* vala_typeregister_function_get_type_flags (ValaTypeRegisterFunction* | |||
self); | self); | |||
ValaCCodeFragment* vala_type_register_function_get_type_interface_init_decl | ValaCCodeFragment* vala_typeregister_function_get_type_interface_init_decla | |||
aration (ValaTypeRegisterFunction* self); | ration (ValaTypeRegisterFunction* self); | |||
ValaCCodeFragment* vala_type_register_function_get_type_interface_init_stat | ValaCCodeFragment* vala_typeregister_function_get_type_interface_init_state | |||
ements (ValaTypeRegisterFunction* self); | ments (ValaTypeRegisterFunction* self); | |||
ValaCCodeFragment* vala_type_register_function_get_declaration (ValaTypeReg | ValaCCodeFragment* vala_typeregister_function_get_declaration (ValaTypeRegi | |||
isterFunction* self); | sterFunction* self); | |||
ValaCCodeFragment* vala_type_register_function_get_definition (ValaTypeRegi | ValaCCodeFragment* vala_typeregister_function_get_definition (ValaTypeRegis | |||
sterFunction* self); | terFunction* self); | |||
ValaSymbolAccessibility vala_type_register_function_get_accessibility (Vala | ValaSymbolAccessibility vala_typeregister_function_get_accessibility (ValaT | |||
TypeRegisterFunction* self); | ypeRegisterFunction* self); | |||
GType vala_type_register_function_get_type (void); | GType vala_typeregister_function_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 5 change blocks. | ||||
47 lines changed or deleted | 46 lines changed or added | |||
valaunaryexpression.h | valaunaryexpression.h | |||
---|---|---|---|---|
/* valaunaryexpression.vala | /* valaunaryexpression.vala | |||
* | * | |||
* Copyright (C) 2006 Jürg Billeter | * Copyright (C) 2006-2007 Jürg Billeter | |||
* | * | |||
* This library is free software; you can redistribute it and/or | * This library is free software; you can redistribute it and/or | |||
* modify it under the terms of the GNU Lesser General Public | * modify it under the terms of the GNU Lesser General Public | |||
* License as published by the Free Software Foundation; either | * License as published by the Free Software Foundation; either | |||
* version 2.1 of the License, or (at your option) any later version. | * version 2.1 of the License, or (at your option) any later version. | |||
* This library is distributed in the hope that it will be useful, | * This library is distributed in the hope that it will be useful, | |||
* but WITHOUT ANY WARRANTY; without even the implied warranty of | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
* Lesser General Public License for more details. | * Lesser General Public License for more details. | |||
skipping to change at line 50 | skipping to change at line 50 | |||
#define VALA_UNARY_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_UNARY_EXPRESSION, ValaUnaryExpressionClass)) | #define VALA_UNARY_EXPRESSION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((o bj), VALA_TYPE_UNARY_EXPRESSION, ValaUnaryExpressionClass)) | |||
typedef struct _ValaUnaryExpressionPrivate ValaUnaryExpressionPrivate; | typedef struct _ValaUnaryExpressionPrivate ValaUnaryExpressionPrivate; | |||
/** | /** | |||
* Represents an expression with one operand in the source code. | * Represents an expression with one operand in the source code. | |||
* | * | |||
* Supports +, -, !, ~, ref, out. | * Supports +, -, !, ~, ref, out. | |||
*/ | */ | |||
struct _ValaUnaryExpression { | struct _ValaUnaryExpression { | |||
ValaExpression parent; | ValaExpression parent_instance; | |||
ValaUnaryExpressionPrivate * priv; | ValaUnaryExpressionPrivate * priv; | |||
}; | }; | |||
struct _ValaUnaryExpressionClass { | struct _ValaUnaryExpressionClass { | |||
ValaExpressionClass parent; | ValaExpressionClass parent_class; | |||
}; | }; | |||
typedef enum { | typedef enum { | |||
VALA_UNARY_OPERATOR_PLUS, | VALA_UNARY_OPERATOR_PLUS, | |||
VALA_UNARY_OPERATOR_MINUS, | VALA_UNARY_OPERATOR_MINUS, | |||
VALA_UNARY_OPERATOR_LOGICAL_NEGATION, | VALA_UNARY_OPERATOR_LOGICAL_NEGATION, | |||
VALA_UNARY_OPERATOR_BITWISE_COMPLEMENT, | VALA_UNARY_OPERATOR_BITWISE_COMPLEMENT, | |||
VALA_UNARY_OPERATOR_INCREMENT, | VALA_UNARY_OPERATOR_INCREMENT, | |||
VALA_UNARY_OPERATOR_DECREMENT, | VALA_UNARY_OPERATOR_DECREMENT, | |||
VALA_UNARY_OPERATOR_REF, | VALA_UNARY_OPERATOR_REF, | |||
VALA_UNARY_OPERATOR_OUT | VALA_UNARY_OPERATOR_OUT | |||
End of changes. 3 change blocks. | ||||
3 lines changed or deleted | 3 lines changed or added | |||
valavariabledeclarator.h | valavariabledeclarator.h | |||
---|---|---|---|---|
skipping to change at line 30 | skipping to change at line 30 | |||
* Jürg Billeter <j@bitron.ch> | * Jürg Billeter <j@bitron.ch> | |||
*/ | */ | |||
#ifndef __VALA_VALAVARIABLEDECLARATOR_H__ | #ifndef __VALA_VALAVARIABLEDECLARATOR_H__ | |||
#define __VALA_VALAVARIABLEDECLARATOR_H__ | #define __VALA_VALAVARIABLEDECLARATOR_H__ | |||
#include <glib.h> | #include <glib.h> | |||
#include <glib-object.h> | #include <glib-object.h> | |||
#include <stdlib.h> | #include <stdlib.h> | |||
#include <string.h> | #include <string.h> | |||
#include <gee/collection.h> | ||||
#include <vala/valasymbol.h> | #include <vala/valasymbol.h> | |||
#include <vala/valainvokable.h> | ||||
#include <vala/valacodenode.h> | #include <vala/valacodenode.h> | |||
G_BEGIN_DECLS | G_BEGIN_DECLS | |||
#define VALA_TYPE_VARIABLE_DECLARATOR (vala_variable_declarator_get_type () ) | #define VALA_TYPE_VARIABLE_DECLARATOR (vala_variable_declarator_get_type () ) | |||
#define VALA_VARIABLE_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), V ALA_TYPE_VARIABLE_DECLARATOR, ValaVariableDeclarator)) | #define VALA_VARIABLE_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), V ALA_TYPE_VARIABLE_DECLARATOR, ValaVariableDeclarator)) | |||
#define VALA_VARIABLE_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kl ass), VALA_TYPE_VARIABLE_DECLARATOR, ValaVariableDeclaratorClass)) | #define VALA_VARIABLE_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((kl ass), VALA_TYPE_VARIABLE_DECLARATOR, ValaVariableDeclaratorClass)) | |||
#define VALA_IS_VARIABLE_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_VARIABLE_DECLARATOR)) | #define VALA_IS_VARIABLE_DECLARATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj) , VALA_TYPE_VARIABLE_DECLARATOR)) | |||
#define VALA_IS_VARIABLE_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_VARIABLE_DECLARATOR)) | #define VALA_IS_VARIABLE_DECLARATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ( (klass), VALA_TYPE_VARIABLE_DECLARATOR)) | |||
#define VALA_VARIABLE_DECLARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_VARIABLE_DECLARATOR, ValaVariableDeclaratorClass)) | #define VALA_VARIABLE_DECLARATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_VARIABLE_DECLARATOR, ValaVariableDeclaratorClass)) | |||
typedef struct _ValaVariableDeclaratorPrivate ValaVariableDeclaratorPrivate ; | typedef struct _ValaVariableDeclaratorPrivate ValaVariableDeclaratorPrivate ; | |||
/** | /** | |||
* Represents a variable declarator in the source code. | * Represents a variable declarator in the source code. | |||
*/ | */ | |||
struct _ValaVariableDeclarator { | struct _ValaVariableDeclarator { | |||
ValaSymbol parent; | ValaSymbol parent_instance; | |||
ValaVariableDeclaratorPrivate * priv; | ValaVariableDeclaratorPrivate * priv; | |||
}; | }; | |||
struct _ValaVariableDeclaratorClass { | struct _ValaVariableDeclaratorClass { | |||
ValaSymbolClass parent; | ValaSymbolClass parent_class; | |||
}; | }; | |||
ValaVariableDeclarator* vala_variable_declarator_new (const char* name, Val aExpression* initializer, ValaSourceReference* source_reference); | ValaVariableDeclarator* vala_variable_declarator_new (const char* name, Val aExpression* initializer, ValaSourceReference* source_reference); | |||
ValaExpression* vala_variable_declarator_get_initializer (ValaVariableDecla rator* self); | ValaExpression* vala_variable_declarator_get_initializer (ValaVariableDecla rator* self); | |||
void vala_variable_declarator_set_initializer (ValaVariableDeclarator* self , ValaExpression* value); | void vala_variable_declarator_set_initializer (ValaVariableDeclarator* self , ValaExpression* value); | |||
ValaTypeReference* vala_variable_declarator_get_type_reference (ValaVariabl | ValaDataType* vala_variable_declarator_get_type_reference (ValaVariableDecl | |||
eDeclarator* self); | arator* self); | |||
void vala_variable_declarator_set_type_reference (ValaVariableDeclarator* s | void vala_variable_declarator_set_type_reference (ValaVariableDeclarator* s | |||
elf, ValaTypeReference* value); | elf, ValaDataType* value); | |||
GType vala_variable_declarator_get_type (void); | GType vala_variable_declarator_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
#endif | #endif | |||
End of changes. 5 change blocks. | ||||
8 lines changed or deleted | 6 lines changed or added | |||
valawhilestatement.h | valawhilestatement.h | |||
---|---|---|---|---|
skipping to change at line 46 | skipping to change at line 46 | |||
#define VALA_IS_WHILE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_WHILE_STATEMENT)) | #define VALA_IS_WHILE_STATEMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VA LA_TYPE_WHILE_STATEMENT)) | |||
#define VALA_IS_WHILE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_WHILE_STATEMENT)) | #define VALA_IS_WHILE_STATEMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((kla ss), VALA_TYPE_WHILE_STATEMENT)) | |||
#define VALA_WHILE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_WHILE_STATEMENT, ValaWhileStatementClass)) | #define VALA_WHILE_STATEMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((ob j), VALA_TYPE_WHILE_STATEMENT, ValaWhileStatementClass)) | |||
typedef struct _ValaWhileStatementPrivate ValaWhileStatementPrivate; | typedef struct _ValaWhileStatementPrivate ValaWhileStatementPrivate; | |||
/** | /** | |||
* Represents a while iteration statement in the source code. | * Represents a while iteration statement in the source code. | |||
*/ | */ | |||
struct _ValaWhileStatement { | struct _ValaWhileStatement { | |||
ValaCodeNode parent; | ValaCodeNode parent_instance; | |||
ValaWhileStatementPrivate * priv; | ValaWhileStatementPrivate * priv; | |||
}; | }; | |||
struct _ValaWhileStatementClass { | struct _ValaWhileStatementClass { | |||
ValaCodeNodeClass parent; | ValaCodeNodeClass parent_class; | |||
}; | }; | |||
ValaWhileStatement* vala_while_statement_new (ValaExpression* condition, Va laBlock* body, ValaSourceReference* source_reference); | ValaWhileStatement* vala_while_statement_new (ValaExpression* condition, Va laBlock* body, ValaSourceReference* source_reference); | |||
ValaExpression* vala_while_statement_get_condition (ValaWhileStatement* sel f); | ValaExpression* vala_while_statement_get_condition (ValaWhileStatement* sel f); | |||
void vala_while_statement_set_condition (ValaWhileStatement* self, ValaExpr ession* value); | void vala_while_statement_set_condition (ValaWhileStatement* self, ValaExpr ession* value); | |||
ValaBlock* vala_while_statement_get_body (ValaWhileStatement* self); | ValaBlock* vala_while_statement_get_body (ValaWhileStatement* self); | |||
void vala_while_statement_set_body (ValaWhileStatement* self, ValaBlock* va lue); | void vala_while_statement_set_body (ValaWhileStatement* self, ValaBlock* va lue); | |||
GType vala_while_statement_get_type (void); | GType vala_while_statement_get_type (void); | |||
G_END_DECLS | G_END_DECLS | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 2 lines changed or added | |||