#ifndef __TEST_H__ #define __TEST_H__ #include #include G_BEGIN_DECLS typedef struct _Test Test; typedef struct _App App; struct _Test { gint x; }; struct _App { }; gint test_foo (Test* self, gint bar); Test* test_new (void); void test_free (Test* self); void* app_thread_func (void); App* app_new (void); void app_free (App* self); G_END_DECLS #endif