summaryrefslogtreecommitdiff
path: root/tests/scanner/foo.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/scanner/foo.h')
-rw-r--r--tests/scanner/foo.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/scanner/foo.h b/tests/scanner/foo.h
index 5a67e654..110c3139 100644
--- a/tests/scanner/foo.h
+++ b/tests/scanner/foo.h
@@ -34,6 +34,10 @@
#define FOO_BUFFER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FOO_TYPE_BUFFER, FooBuffer))
#define FOO_IS_BUFFER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FOO_TYPE_BUFFER))
+#define FOO_TYPE_OTHER_OBJECT (foo_other_object_get_type ())
+#define FOO_OTHER_OBJECT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FOO_TYPE_OTHER_OBJECT, FooOtherObject))
+#define FOO_IS_OTHER_OBJECT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), FOO_TYPE_OTHER_OBJECT))
+
typedef struct _FooInterface FooInterface;
typedef struct _FooInterfaceIface FooInterfaceIface;
typedef struct _FooSubInterface FooSubInterface;
@@ -44,6 +48,8 @@ typedef struct _FooSubobject FooSubobject;
typedef struct _FooSubobjectClass FooSubobjectClass;
typedef struct _FooBuffer FooBuffer;
typedef struct _FooBufferClass FooBufferClass;
+typedef struct _FooOtherObject FooOtherObject;
+typedef struct _FooOtherObjectClass FooOtherObjectClass;
struct _FooInterfaceIface
{
@@ -151,6 +157,8 @@ GType foo_buffer_get_type (void);
void foo_buffer_some_method (FooBuffer *buffer);
+GType foo_other_object_get_type (void) G_GNUC_CONST;
+
typedef enum
{
FOO_ENUM_ALPHA,
@@ -420,4 +428,6 @@ struct _FooForeignStruct
*/
void foo_object_a_global_method (UtilityObject *obj);
+FooOtherObject * foo_object_append_new_stack_layer (FooObject *obj, int x);
+
#endif /* __FOO_OBJECT_H__ */