*ints = values;
}
-/**
- * gi_marshalling_tests_array_fixed_out_struct:
- * @structs: (out) (array fixed-size=2) (transfer none):
- */
-void
-gi_marshalling_tests_array_fixed_out_struct (GIMarshallingTestsSimpleStruct **structs)
-{
- static GIMarshallingTestsSimpleStruct *values;
-
- if (values == NULL) {
- values = g_new(GIMarshallingTestsSimpleStruct, 2);
-
- values[0].long_ = 7;
- values[0].int8 = 6;
-
- values[1].long_ = 6;
- values[1].int8 = 7;
- }
-
- *structs = values;
-}
-
/**
* gi_marshalling_tests_array_fixed_inout:
* @ints: (inout) (array fixed-size=4) (transfer none):
*obj = NULL;
}
+/**
+ * regress_test_array_fixed_out_objects:
+ * @objs: (out) (array fixed-size=2) (transfer full): An array of #RegressTestObj
+ */
+void
+regress_test_array_fixed_out_objects (RegressTestObj ***objs)
+{
+ RegressTestObj **values = g_new(gpointer, 2);
+
+ values[0] = regress_constructor();
+ values[1] = regress_constructor();
+
+ *objs = values;
+}
+
typedef struct _CallbackInfo CallbackInfo;
struct _CallbackInfo
double regress_test_obj_static_method (int x);
void regress_forced_method (RegressTestObj *obj);
+void regress_test_array_fixed_out_objects (RegressTestObj ***objs);
+
void regress_test_obj_torture_signature_0 (RegressTestObj *obj,
int x,
double *y,