The change in commit 2912b broke the gjs test suite which was relying
on TestStructA being "simple" (i.e. only having primitive fields as members).
gint8 some_int8;
gdouble some_double;
TestEnum some_enum;
- GObject *some_obj;
};
void test_struct_a_clone (TestStructA *a,
void test_struct_b_clone (TestStructB *b,
TestStructB *b_out);
+/* This one has a non-basic member */
+struct _TestStructC
+{
+ gint another_int;
+ GObject *obj;
+};
+
/* plain-old-data boxed types */
typedef struct _TestSimpleBoxedA TestSimpleBoxedA;
typedef struct _TestSimpleBoxedB TestSimpleBoxedB;