summaryrefslogtreecommitdiff
path: root/tests/regressextra.h
blob: 8834eb717520454c9c8cef2ff5bf4e4b24cc3993 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#ifndef REGRESS_EXTRA_H
#define REGRESS_EXTRA_H

#include <glib-object.h>

typedef struct _RegressTestBoxedC RegressTestBoxedC;
typedef struct _RegressTestBoxedCWrapper RegressTestBoxedCWrapper;

_GI_TEST_EXTERN
GType regress_test_boxed_c_wrapper_get_type (void);

_GI_TEST_EXTERN
RegressTestBoxedCWrapper *regress_test_boxed_c_wrapper_new (void);
_GI_TEST_EXTERN
RegressTestBoxedCWrapper * regress_test_boxed_c_wrapper_copy (RegressTestBoxedCWrapper *self);
_GI_TEST_EXTERN
RegressTestBoxedC *regress_test_boxed_c_wrapper_get (RegressTestBoxedCWrapper *self);

_GI_TEST_EXTERN
void regress_test_array_fixed_boxed_none_out (RegressTestBoxedC ***objs);
_GI_TEST_EXTERN
void regress_test_gvalue_out_boxed (GValue *value, int init);
_GI_TEST_EXTERN
GList *regress_test_glist_boxed_none_return (guint count);
_GI_TEST_EXTERN
GList *regress_test_glist_boxed_full_return (guint count);

#ifndef _GI_DISABLE_CAIRO

_GI_TEST_EXTERN
cairo_t *regress_test_cairo_context_none_return (void);
_GI_TEST_EXTERN
void regress_test_cairo_context_full_in (cairo_t *context);
_GI_TEST_EXTERN
cairo_path_t *regress_test_cairo_path_full_return (void);
_GI_TEST_EXTERN
void regress_test_cairo_path_none_in (cairo_path_t *path);
_GI_TEST_EXTERN
cairo_path_t * regress_test_cairo_path_full_in_full_return (cairo_path_t *path);
_GI_TEST_EXTERN
void regress_test_cairo_pattern_full_in (cairo_pattern_t *pattern);
_GI_TEST_EXTERN
void regress_test_cairo_pattern_none_in (cairo_pattern_t *pattern);
_GI_TEST_EXTERN
cairo_pattern_t* regress_test_cairo_pattern_none_return (void);
_GI_TEST_EXTERN
cairo_pattern_t * regress_test_cairo_pattern_full_return (void);
_GI_TEST_EXTERN
cairo_font_options_t *regress_test_cairo_font_options_full_return (void);
_GI_TEST_EXTERN
cairo_font_options_t *regress_test_cairo_font_options_none_return (void);
_GI_TEST_EXTERN
void regress_test_cairo_font_options_full_in (cairo_font_options_t *options);
_GI_TEST_EXTERN
void regress_test_cairo_font_options_none_in (cairo_font_options_t *options);
_GI_TEST_EXTERN
void regress_test_cairo_region_full_in (cairo_region_t *region);
_GI_TEST_EXTERN
void regress_test_cairo_surface_full_in (cairo_surface_t *surface);
_GI_TEST_EXTERN
void regress_test_cairo_matrix_none_in (const cairo_matrix_t *matrix);
_GI_TEST_EXTERN
cairo_matrix_t *regress_test_cairo_matrix_none_return (void);
_GI_TEST_EXTERN
void regress_test_cairo_matrix_out_caller_allocates (cairo_matrix_t *matrix);

#endif

/* RegressTestAction */

typedef struct {
  GInitiallyUnowned parent;
} RegressTestAction;

typedef struct {
  GInitiallyUnownedClass parent_class;
} RegressTestActionClass;

_GI_TEST_EXTERN
GType regress_test_action_get_type (void);

#endif /* REGRESS_EXTRA_H */