1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 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__ */