diff options
Diffstat (limited to 'test/bindings/dummy.h')
-rw-r--r-- | test/bindings/dummy.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/test/bindings/dummy.h b/test/bindings/dummy.h new file mode 100644 index 000000000..7b8ad841d --- /dev/null +++ b/test/bindings/dummy.h @@ -0,0 +1,19 @@ +#ifndef __DUMMY_H__ +#define __DUMMY_H__ + +#include <glib.h> + +#define DUMMY(dummy) ((Dummy *)(dummy)) + +typedef struct _Dummy Dummy; + +struct _Dummy { + gint flags; + + gchar *name; +}; + +Dummy *dummy_new(); +Dummy *dummy_new_with_name(gchar *name); + +#endif /* __DUMMY_H__ */ |