| 1 |
#ifndef TEST_BOXED_H |
| 2 |
#define TEST_BOXED_H |
| 3 |
|
| 4 |
#include <glib-object.h> |
| 5 |
#include <glib.h> |
| 6 |
|
| 7 |
G_BEGIN_DECLS |
| 8 |
|
| 9 |
GType gi_cpp_gbexample_get_type(); |
| 10 |
|
| 11 |
#define GI_CPP_TYPE_BOXED_EXAMPLE (gi_cpp_gbexample_get_type()) |
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
typedef struct _GBExample |
| 16 |
{ |
| 17 |
int data; |
| 18 |
} GBExample; |
| 19 |
|
| 20 |
GBExample *gi_cpp_gbexample_new(); |
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
typedef struct _CBExample |
| 25 |
{ |
| 26 |
int data; |
| 27 |
} CBExample; |
| 28 |
|
| 29 |
CBExample *gi_cpp_cbexample_new(); |
| 30 |
void gi_cpp_cbexample_free(CBExample *); |
| 31 |
|
| 32 |
G_END_DECLS |
| 33 |
|
| 34 |
#endif |