1 #ifndef __ANNOTATION_OBJECT_H__
2 #define __ANNOTATION_OBJECT_H__
4 #include <glib-object.h>
8 * @in: (in) (transfer none): array of ints
10 * Return value: (transfer none): array of ints
12 typedef const gint* (*AnnotationCallback) (const gint *in);
15 * AnnotationListCallback:
16 * @in: (in) (transfer none) (element-type utf8): list of strings
18 * Return value: (transfer container) (element-type utf8): list of strings
20 typedef GList* (*AnnotationListCallback) (GList *in);
22 typedef struct _AnnotationObject AnnotationObject;
23 typedef struct _AnnotationObjectClass AnnotationObjectClass;
25 struct _AnnotationObject
27 GObject parent_instance;
30 struct _AnnotationObjectClass
32 GObjectClass parent_class;
35 GType annotation_object_get_type (void);
37 gint annotation_object_method (AnnotationObject *object);
38 gint annotation_object_out (AnnotationObject *object,
40 GObject* annotation_object_create_object(AnnotationObject *object);
41 GObject* annotation_object_allow_none (AnnotationObject *object,
42 const gchar *somearg);
43 GObject* annotation_object_notrans (AnnotationObject *object);
44 gint annotation_object_inout (AnnotationObject *object,
46 gint annotation_object_inout2 (AnnotationObject *object,
48 gint annotation_object_inout3 (AnnotationObject *object,
50 gint annotation_object_in (AnnotationObject *object,
52 gint annotation_object_calleeowns (AnnotationObject *object,
54 gint annotation_object_calleesowns (AnnotationObject *object,
57 GList* annotation_object_get_strings (AnnotationObject *object);
58 GHashTable*annotation_object_get_hash (AnnotationObject *object);
59 GSList* annotation_object_get_objects (AnnotationObject *object);
61 void annotation_object_use_buffer (AnnotationObject *object,
64 void annotation_object_compute_sum (AnnotationObject *object,
67 void annotation_object_compute_sum_n(AnnotationObject *object,
70 void annotation_object_compute_sum_nz(AnnotationObject *object,
73 void annotation_object_parse_args (AnnotationObject *object,
77 GObject* annotation_object_do_not_use (AnnotationObject *object);
80 void annotation_init (int *argc, char ***argv);
82 #endif /* __ANNOTATION_OBJECT_H__ */