1 /* valagee.h generated by valac, the Vala compiler, do not modify */
2 
3 #ifndef __VALAGEE_H__
4 #define __VALAGEE_H__
5 
6 #include <glib-object.h>
7 #include <glib.h>
8 
9 G_BEGIN_DECLS
10 
11 #define VALA_TYPE_ITERABLE (vala_iterable_get_type ())
12 #define VALA_ITERABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ITERABLE, ValaIterable))
13 #define VALA_ITERABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_ITERABLE, ValaIterableClass))
14 #define VALA_IS_ITERABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ITERABLE))
15 #define VALA_IS_ITERABLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_ITERABLE))
16 #define VALA_ITERABLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_ITERABLE, ValaIterableClass))
17 
18 typedef struct _ValaIterable ValaIterable;
19 typedef struct _ValaIterableClass ValaIterableClass;
20 typedef struct _ValaIterablePrivate ValaIterablePrivate;
21 
22 #define VALA_TYPE_ITERATOR (vala_iterator_get_type ())
23 #define VALA_ITERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ITERATOR, ValaIterator))
24 #define VALA_ITERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_ITERATOR, ValaIteratorClass))
25 #define VALA_IS_ITERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ITERATOR))
26 #define VALA_IS_ITERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_ITERATOR))
27 #define VALA_ITERATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_ITERATOR, ValaIteratorClass))
28 
29 typedef struct _ValaIterator ValaIterator;
30 typedef struct _ValaIteratorClass ValaIteratorClass;
31 
32 #define VALA_TYPE_COLLECTION (vala_collection_get_type ())
33 #define VALA_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_COLLECTION, ValaCollection))
34 #define VALA_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_COLLECTION, ValaCollectionClass))
35 #define VALA_IS_COLLECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_COLLECTION))
36 #define VALA_IS_COLLECTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_COLLECTION))
37 #define VALA_COLLECTION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_COLLECTION, ValaCollectionClass))
38 
39 typedef struct _ValaCollection ValaCollection;
40 typedef struct _ValaCollectionClass ValaCollectionClass;
41 typedef struct _ValaCollectionPrivate ValaCollectionPrivate;
42 
43 #define VALA_TYPE_LIST (vala_list_get_type ())
44 #define VALA_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_LIST, ValaList))
45 #define VALA_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_LIST, ValaListClass))
46 #define VALA_IS_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_LIST))
47 #define VALA_IS_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_LIST))
48 #define VALA_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_LIST, ValaListClass))
49 
50 typedef struct _ValaList ValaList;
51 typedef struct _ValaListClass ValaListClass;
52 typedef struct _ValaListPrivate ValaListPrivate;
53 
54 #define VALA_TYPE_ARRAY_LIST (vala_array_list_get_type ())
55 #define VALA_ARRAY_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_ARRAY_LIST, ValaArrayList))
56 #define VALA_ARRAY_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_ARRAY_LIST, ValaArrayListClass))
57 #define VALA_IS_ARRAY_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_ARRAY_LIST))
58 #define VALA_IS_ARRAY_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_ARRAY_LIST))
59 #define VALA_ARRAY_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_ARRAY_LIST, ValaArrayListClass))
60 
61 typedef struct _ValaArrayList ValaArrayList;
62 typedef struct _ValaArrayListClass ValaArrayListClass;
63 typedef struct _ValaArrayListPrivate ValaArrayListPrivate;
64 
65 #define VALA_TYPE_MAP (vala_map_get_type ())
66 #define VALA_MAP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_MAP, ValaMap))
67 #define VALA_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_MAP, ValaMapClass))
68 #define VALA_IS_MAP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_MAP))
69 #define VALA_IS_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_MAP))
70 #define VALA_MAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_MAP, ValaMapClass))
71 
72 typedef struct _ValaMap ValaMap;
73 typedef struct _ValaMapClass ValaMapClass;
74 typedef struct _ValaMapPrivate ValaMapPrivate;
75 
76 #define VALA_TYPE_SET (vala_set_get_type ())
77 #define VALA_SET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_SET, ValaSet))
78 #define VALA_SET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_SET, ValaSetClass))
79 #define VALA_IS_SET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_SET))
80 #define VALA_IS_SET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_SET))
81 #define VALA_SET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_SET, ValaSetClass))
82 
83 typedef struct _ValaSet ValaSet;
84 typedef struct _ValaSetClass ValaSetClass;
85 
86 #define VALA_TYPE_MAP_ITERATOR (vala_map_iterator_get_type ())
87 #define VALA_MAP_ITERATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_MAP_ITERATOR, ValaMapIterator))
88 #define VALA_MAP_ITERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_MAP_ITERATOR, ValaMapIteratorClass))
89 #define VALA_IS_MAP_ITERATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_MAP_ITERATOR))
90 #define VALA_IS_MAP_ITERATOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_MAP_ITERATOR))
91 #define VALA_MAP_ITERATOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_MAP_ITERATOR, ValaMapIteratorClass))
92 
93 typedef struct _ValaMapIterator ValaMapIterator;
94 typedef struct _ValaMapIteratorClass ValaMapIteratorClass;
95 
96 #define VALA_TYPE_HASH_MAP (vala_hash_map_get_type ())
97 #define VALA_HASH_MAP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_HASH_MAP, ValaHashMap))
98 #define VALA_HASH_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_HASH_MAP, ValaHashMapClass))
99 #define VALA_IS_HASH_MAP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_HASH_MAP))
100 #define VALA_IS_HASH_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_HASH_MAP))
101 #define VALA_HASH_MAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_HASH_MAP, ValaHashMapClass))
102 
103 typedef struct _ValaHashMap ValaHashMap;
104 typedef struct _ValaHashMapClass ValaHashMapClass;
105 typedef struct _ValaHashMapPrivate ValaHashMapPrivate;
106 typedef struct _ValaSetPrivate ValaSetPrivate;
107 
108 #define VALA_TYPE_HASH_SET (vala_hash_set_get_type ())
109 #define VALA_HASH_SET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), VALA_TYPE_HASH_SET, ValaHashSet))
110 #define VALA_HASH_SET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), VALA_TYPE_HASH_SET, ValaHashSetClass))
111 #define VALA_IS_HASH_SET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), VALA_TYPE_HASH_SET))
112 #define VALA_IS_HASH_SET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), VALA_TYPE_HASH_SET))
113 #define VALA_HASH_SET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), VALA_TYPE_HASH_SET, ValaHashSetClass))
114 
115 typedef struct _ValaHashSet ValaHashSet;
116 typedef struct _ValaHashSetClass ValaHashSetClass;
117 typedef struct _ValaHashSetPrivate ValaHashSetPrivate;
118 typedef struct _ValaMapIteratorPrivate ValaMapIteratorPrivate;
119 typedef struct _ValaIteratorPrivate ValaIteratorPrivate;
120 
121 struct _ValaIterable {
122 	GTypeInstance parent_instance;
123 	volatile int ref_count;
124 	ValaIterablePrivate * priv;
125 };
126 
127 struct _ValaIterableClass {
128 	GTypeClass parent_class;
129 	void (*finalize) (ValaIterable *self);
130 	GType (*get_element_type) (ValaIterable* self);
131 	ValaIterator* (*iterator) (ValaIterable* self);
132 };
133 
134 struct _ValaCollection {
135 	ValaIterable parent_instance;
136 	ValaCollectionPrivate * priv;
137 };
138 
139 struct _ValaCollectionClass {
140 	ValaIterableClass parent_class;
141 	gint (*get_size) (ValaCollection* self);
142 	gboolean (*get_is_empty) (ValaCollection* self);
143 	gboolean (*contains) (ValaCollection* self, gconstpointer item);
144 	gboolean (*add) (ValaCollection* self, gconstpointer item);
145 	gboolean (*remove) (ValaCollection* self, gconstpointer item);
146 	void (*clear) (ValaCollection* self);
147 	gboolean (*add_all) (ValaCollection* self, ValaCollection* collection);
148 	gpointer* (*to_array) (ValaCollection* self, gint* result_length1);
149 };
150 
151 struct _ValaList {
152 	ValaCollection parent_instance;
153 	ValaListPrivate * priv;
154 };
155 
156 struct _ValaListClass {
157 	ValaCollectionClass parent_class;
158 	gpointer (*get) (ValaList* self, gint index);
159 	void (*set) (ValaList* self, gint index, gconstpointer item);
160 	gint (*index_of) (ValaList* self, gconstpointer item);
161 	void (*insert) (ValaList* self, gint index, gconstpointer item);
162 	gpointer (*remove_at) (ValaList* self, gint index);
163 	gpointer (*first) (ValaList* self);
164 	gpointer (*last) (ValaList* self);
165 	void (*insert_all) (ValaList* self, gint index, ValaCollection* collection);
166 	void (*sort) (ValaList* self, GCompareDataFunc compare_func, gpointer compare_func_target, GDestroyNotify compare_func_target_destroy_notify);
167 };
168 
169 struct _ValaArrayList {
170 	ValaList parent_instance;
171 	gpointer* _items;
172 	gint _items_length1;
173 	gint __items_size_;
174 	gint _size;
175 	ValaArrayListPrivate * priv;
176 };
177 
178 struct _ValaArrayListClass {
179 	ValaListClass parent_class;
180 };
181 
182 struct _ValaMap {
183 	GTypeInstance parent_instance;
184 	volatile int ref_count;
185 	ValaMapPrivate * priv;
186 };
187 
188 struct _ValaMapClass {
189 	GTypeClass parent_class;
190 	void (*finalize) (ValaMap *self);
191 	gint (*get_size) (ValaMap* self);
192 	ValaSet* (*get_keys) (ValaMap* self);
193 	ValaCollection* (*get_values) (ValaMap* self);
194 	gboolean (*contains) (ValaMap* self, gconstpointer key);
195 	gpointer (*get) (ValaMap* self, gconstpointer key);
196 	void (*set) (ValaMap* self, gconstpointer key, gconstpointer value);
197 	gboolean (*remove) (ValaMap* self, gconstpointer key);
198 	void (*clear) (ValaMap* self);
199 	ValaMapIterator* (*map_iterator) (ValaMap* self);
200 };
201 
202 struct _ValaHashMap {
203 	ValaMap parent_instance;
204 	ValaHashMapPrivate * priv;
205 };
206 
207 struct _ValaHashMapClass {
208 	ValaMapClass parent_class;
209 };
210 
211 struct _ValaSet {
212 	ValaCollection parent_instance;
213 	ValaSetPrivate * priv;
214 };
215 
216 struct _ValaSetClass {
217 	ValaCollectionClass parent_class;
218 };
219 
220 struct _ValaHashSet {
221 	ValaSet parent_instance;
222 	ValaHashSetPrivate * priv;
223 };
224 
225 struct _ValaHashSetClass {
226 	ValaSetClass parent_class;
227 };
228 
229 struct _ValaMapIterator {
230 	GTypeInstance parent_instance;
231 	volatile int ref_count;
232 	ValaMapIteratorPrivate * priv;
233 };
234 
235 struct _ValaMapIteratorClass {
236 	GTypeClass parent_class;
237 	void (*finalize) (ValaMapIterator *self);
238 	gboolean (*next) (ValaMapIterator* self);
239 	gpointer (*get_key) (ValaMapIterator* self);
240 	gpointer (*get_value) (ValaMapIterator* self);
241 };
242 
243 struct _ValaIterator {
244 	GTypeInstance parent_instance;
245 	volatile int ref_count;
246 	ValaIteratorPrivate * priv;
247 };
248 
249 struct _ValaIteratorClass {
250 	GTypeClass parent_class;
251 	void (*finalize) (ValaIterator *self);
252 	gboolean (*next) (ValaIterator* self);
253 	gboolean (*has_next) (ValaIterator* self);
254 	gpointer (*get) (ValaIterator* self);
255 	void (*remove) (ValaIterator* self);
256 	gboolean (*get_valid) (ValaIterator* self);
257 };
258 
259 gpointer vala_iterable_ref (gpointer instance);
260 void vala_iterable_unref (gpointer instance);
261 GParamSpec* vala_param_spec_iterable (const gchar* name,
262                                       const gchar* nick,
263                                       const gchar* blurb,
264                                       GType object_type,
265                                       GParamFlags flags);
266 void vala_value_set_iterable (GValue* value,
267                               gpointer v_object);
268 void vala_value_take_iterable (GValue* value,
269                                gpointer v_object);
270 gpointer vala_value_get_iterable (const GValue* value);
271 GType vala_iterable_get_type (void) G_GNUC_CONST;
272 G_DEFINE_AUTOPTR_CLEANUP_FUNC (ValaIterable, vala_iterable_unref)
273 gpointer vala_iterator_ref (gpointer instance);
274 void vala_iterator_unref (gpointer instance);
275 GParamSpec* vala_param_spec_iterator (const gchar* name,
276                                       const gchar* nick,
277                                       const gchar* blurb,
278                                       GType object_type,
279                                       GParamFlags flags);
280 void vala_value_set_iterator (GValue* value,
281                               gpointer v_object);
282 void vala_value_take_iterator (GValue* value,
283                                gpointer v_object);
284 gpointer vala_value_get_iterator (const GValue* value);
285 GType vala_iterator_get_type (void) G_GNUC_CONST;
286 G_DEFINE_AUTOPTR_CLEANUP_FUNC (ValaIterator, vala_iterator_unref)
287 GType vala_collection_get_type (void) G_GNUC_CONST;
288 G_DEFINE_AUTOPTR_CLEANUP_FUNC (ValaCollection, vala_iterable_unref)
289 GType vala_list_get_type (void) G_GNUC_CONST;
290 G_DEFINE_AUTOPTR_CLEANUP_FUNC (ValaList, vala_iterable_unref)
291 GType vala_array_list_get_type (void) G_GNUC_CONST;
292 G_DEFINE_AUTOPTR_CLEANUP_FUNC (ValaArrayList, vala_iterable_unref)
293 void vala_array_list_set_equal_func (ValaArrayList* self,
294                                      GEqualFunc value);
295 ValaArrayList* vala_array_list_new (GType g_type,
296                                     GBoxedCopyFunc g_dup_func,
297                                     GDestroyNotify g_destroy_func,
298                                     GEqualFunc equal_func);
299 ValaArrayList* vala_array_list_construct (GType object_type,
300                                           GType g_type,
301                                           GBoxedCopyFunc g_dup_func,
302                                           GDestroyNotify g_destroy_func,
303                                           GEqualFunc equal_func);
304 gint vala_collection_get_size (ValaCollection* self);
305 gboolean vala_collection_get_is_empty (ValaCollection* self);
306 gboolean vala_collection_contains (ValaCollection* self,
307                                    gconstpointer item);
308 gboolean vala_collection_add (ValaCollection* self,
309                               gconstpointer item);
310 gboolean vala_collection_remove (ValaCollection* self,
311                                  gconstpointer item);
312 void vala_collection_clear (ValaCollection* self);
313 gboolean vala_collection_add_all (ValaCollection* self,
314                                   ValaCollection* collection);
315 gpointer* vala_collection_to_array (ValaCollection* self,
316                                     gint* result_length1);
317 ValaCollection* vala_collection_construct (GType object_type,
318                                            GType g_type,
319                                            GBoxedCopyFunc g_dup_func,
320                                            GDestroyNotify g_destroy_func);
321 gpointer vala_map_ref (gpointer instance);
322 void vala_map_unref (gpointer instance);
323 GParamSpec* vala_param_spec_map (const gchar* name,
324                                  const gchar* nick,
325                                  const gchar* blurb,
326                                  GType object_type,
327                                  GParamFlags flags);
328 void vala_value_set_map (GValue* value,
329                          gpointer v_object);
330 void vala_value_take_map (GValue* value,
331                           gpointer v_object);
332 gpointer vala_value_get_map (const GValue* value);
333 GType vala_map_get_type (void) G_GNUC_CONST;
334 G_DEFINE_AUTOPTR_CLEANUP_FUNC (ValaMap, vala_map_unref)
335 GType vala_set_get_type (void) G_GNUC_CONST;
336 G_DEFINE_AUTOPTR_CLEANUP_FUNC (ValaSet, vala_iterable_unref)
337 gpointer vala_map_iterator_ref (gpointer instance);
338 void vala_map_iterator_unref (gpointer instance);
339 GParamSpec* vala_param_spec_map_iterator (const gchar* name,
340                                           const gchar* nick,
341                                           const gchar* blurb,
342                                           GType object_type,
343                                           GParamFlags flags);
344 void vala_value_set_map_iterator (GValue* value,
345                                   gpointer v_object);
346 void vala_value_take_map_iterator (GValue* value,
347                                    gpointer v_object);
348 gpointer vala_value_get_map_iterator (const GValue* value);
349 GType vala_map_iterator_get_type (void) G_GNUC_CONST;
350 G_DEFINE_AUTOPTR_CLEANUP_FUNC (ValaMapIterator, vala_map_iterator_unref)
351 GType vala_hash_map_get_type (void) G_GNUC_CONST;
352 G_DEFINE_AUTOPTR_CLEANUP_FUNC (ValaHashMap, vala_map_unref)
353 void vala_hash_map_set_key_hash_func (ValaHashMap* self,
354                                       GHashFunc value);
355 void vala_hash_map_set_key_equal_func (ValaHashMap* self,
356                                        GEqualFunc value);
357 void vala_hash_map_set_value_equal_func (ValaHashMap* self,
358                                          GEqualFunc value);
359 ValaHashMap* vala_hash_map_new (GType k_type,
360                                 GBoxedCopyFunc k_dup_func,
361                                 GDestroyNotify k_destroy_func,
362                                 GType v_type,
363                                 GBoxedCopyFunc v_dup_func,
364                                 GDestroyNotify v_destroy_func,
365                                 GHashFunc key_hash_func,
366                                 GEqualFunc key_equal_func,
367                                 GEqualFunc value_equal_func);
368 ValaHashMap* vala_hash_map_construct (GType object_type,
369                                       GType k_type,
370                                       GBoxedCopyFunc k_dup_func,
371                                       GDestroyNotify k_destroy_func,
372                                       GType v_type,
373                                       GBoxedCopyFunc v_dup_func,
374                                       GDestroyNotify v_destroy_func,
375                                       GHashFunc key_hash_func,
376                                       GEqualFunc key_equal_func,
377                                       GEqualFunc value_equal_func);
378 GType vala_hash_set_get_type (void) G_GNUC_CONST;
379 G_DEFINE_AUTOPTR_CLEANUP_FUNC (ValaHashSet, vala_iterable_unref)
380 void vala_hash_set_set_hash_func (ValaHashSet* self,
381                                   GHashFunc value);
382 void vala_hash_set_set_equal_func (ValaHashSet* self,
383                                    GEqualFunc value);
384 ValaHashSet* vala_hash_set_new (GType g_type,
385                                 GBoxedCopyFunc g_dup_func,
386                                 GDestroyNotify g_destroy_func,
387                                 GHashFunc hash_func,
388                                 GEqualFunc equal_func);
389 ValaHashSet* vala_hash_set_construct (GType object_type,
390                                       GType g_type,
391                                       GBoxedCopyFunc g_dup_func,
392                                       GDestroyNotify g_destroy_func,
393                                       GHashFunc hash_func,
394                                       GEqualFunc equal_func);
395 GType vala_iterable_get_element_type (ValaIterable* self);
396 ValaIterator* vala_iterable_iterator (ValaIterable* self);
397 ValaIterable* vala_iterable_construct (GType object_type,
398                                        GType g_type,
399                                        GBoxedCopyFunc g_dup_func,
400                                        GDestroyNotify g_destroy_func);
401 gboolean vala_map_iterator_next (ValaMapIterator* self);
402 gpointer vala_map_iterator_get_key (ValaMapIterator* self);
403 gpointer vala_map_iterator_get_value (ValaMapIterator* self);
404 ValaMapIterator* vala_map_iterator_construct (GType object_type,
405                                               GType k_type,
406                                               GBoxedCopyFunc k_dup_func,
407                                               GDestroyNotify k_destroy_func,
408                                               GType v_type,
409                                               GBoxedCopyFunc v_dup_func,
410                                               GDestroyNotify v_destroy_func);
411 gboolean vala_iterator_next (ValaIterator* self);
412 gboolean vala_iterator_has_next (ValaIterator* self);
413 gpointer vala_iterator_get (ValaIterator* self);
414 void vala_iterator_remove (ValaIterator* self);
415 gboolean vala_iterator_get_valid (ValaIterator* self);
416 ValaIterator* vala_iterator_construct (GType object_type,
417                                        GType g_type,
418                                        GBoxedCopyFunc g_dup_func,
419                                        GDestroyNotify g_destroy_func);
420 gpointer vala_list_get (ValaList* self,
421                         gint index);
422 void vala_list_set (ValaList* self,
423                     gint index,
424                     gconstpointer item);
425 gint vala_list_index_of (ValaList* self,
426                          gconstpointer item);
427 void vala_list_insert (ValaList* self,
428                        gint index,
429                        gconstpointer item);
430 gpointer vala_list_remove_at (ValaList* self,
431                               gint index);
432 gpointer vala_list_first (ValaList* self);
433 gpointer vala_list_last (ValaList* self);
434 void vala_list_insert_all (ValaList* self,
435                            gint index,
436                            ValaCollection* collection);
437 void vala_list_sort (ValaList* self,
438                      GCompareDataFunc compare_func,
439                      gpointer compare_func_target,
440                      GDestroyNotify compare_func_target_destroy_notify);
441 ValaList* vala_list_construct (GType object_type,
442                                GType g_type,
443                                GBoxedCopyFunc g_dup_func,
444                                GDestroyNotify g_destroy_func);
445 gint vala_map_get_size (ValaMap* self);
446 ValaSet* vala_map_get_keys (ValaMap* self);
447 ValaCollection* vala_map_get_values (ValaMap* self);
448 gboolean vala_map_contains (ValaMap* self,
449                             gconstpointer key);
450 gpointer vala_map_get (ValaMap* self,
451                        gconstpointer key);
452 void vala_map_set (ValaMap* self,
453                    gconstpointer key,
454                    gconstpointer value);
455 gboolean vala_map_remove (ValaMap* self,
456                           gconstpointer key);
457 void vala_map_clear (ValaMap* self);
458 ValaMapIterator* vala_map_map_iterator (ValaMap* self);
459 ValaMap* vala_map_construct (GType object_type,
460                              GType k_type,
461                              GBoxedCopyFunc k_dup_func,
462                              GDestroyNotify k_destroy_func,
463                              GType v_type,
464                              GBoxedCopyFunc v_dup_func,
465                              GDestroyNotify v_destroy_func);
466 ValaSet* vala_set_construct (GType object_type,
467                              GType g_type,
468                              GBoxedCopyFunc g_dup_func,
469                              GDestroyNotify g_destroy_func);
470 
471 G_END_DECLS
472 
473 #endif
474