File: test.h.ref

package info (click to toggle)
mono-tools 4.2-3.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 13,868 kB
  • sloc: cs: 100,909; sh: 3,845; makefile: 2,040; javascript: 1,557; xml: 126
file content (227 lines) | stat: -rw-r--r-- 7,068 bytes parent folder | download | duplicates (3)
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
/*
 * This file was automatically generated by create-native-map from TestMap.dll.
 *
 * DO NOT MODIFY.
 */

#ifndef INC_TestMap_test_H
#define INC_TestMap_test_H

#include <glib.h>

G_BEGIN_DECLS

/*
 * Public Macros
 */
#ifndef DefineMe
#define DefineMe 42
#endif /* ndef DefineMe */


/*
 * Public Includes
 */
#include <stdlib.h>

/*
 * Enumerations
 */
enum MakeMap_Test_FlagsEnum {
	MakeMap_Test_FlagsEnum_A              = 0x00000001,
	#define MakeMap_Test_FlagsEnum_A        MakeMap_Test_FlagsEnum_A
	MakeMap_Test_FlagsEnum_All            = 0x0000000f,
	#define MakeMap_Test_FlagsEnum_All      MakeMap_Test_FlagsEnum_All
	MakeMap_Test_FlagsEnum_B              = 0x00000002,
	#define MakeMap_Test_FlagsEnum_B        MakeMap_Test_FlagsEnum_B
	MakeMap_Test_FlagsEnum_C              = 0x00000004,
	#define MakeMap_Test_FlagsEnum_C        MakeMap_Test_FlagsEnum_C
	MakeMap_Test_FlagsEnum_D              = 0x00000008,
	#define MakeMap_Test_FlagsEnum_D        MakeMap_Test_FlagsEnum_D
	MakeMap_Test_FlagsEnum_None           = 0x00000000,
	#define MakeMap_Test_FlagsEnum_None     MakeMap_Test_FlagsEnum_None
	MakeMap_Test_FlagsEnum_S_IFBLK        = 0x00006000,
	#define MakeMap_Test_FlagsEnum_S_IFBLK  MakeMap_Test_FlagsEnum_S_IFBLK
	MakeMap_Test_FlagsEnum_S_IFCHR        = 0x00002000,
	#define MakeMap_Test_FlagsEnum_S_IFCHR  MakeMap_Test_FlagsEnum_S_IFCHR
	MakeMap_Test_FlagsEnum_S_IFDIR        = 0x00004000,
	#define MakeMap_Test_FlagsEnum_S_IFDIR  MakeMap_Test_FlagsEnum_S_IFDIR
	MakeMap_Test_FlagsEnum_S_IFIFO        = 0x00001000,
	#define MakeMap_Test_FlagsEnum_S_IFIFO  MakeMap_Test_FlagsEnum_S_IFIFO
	MakeMap_Test_FlagsEnum_S_IFLNK        = 0x0000a000,
	#define MakeMap_Test_FlagsEnum_S_IFLNK  MakeMap_Test_FlagsEnum_S_IFLNK
	MakeMap_Test_FlagsEnum_S_IFMT         = 0x0000f000,
	#define MakeMap_Test_FlagsEnum_S_IFMT   MakeMap_Test_FlagsEnum_S_IFMT
	MakeMap_Test_FlagsEnum_S_IFREG        = 0x00008000,
	#define MakeMap_Test_FlagsEnum_S_IFREG  MakeMap_Test_FlagsEnum_S_IFREG
	MakeMap_Test_FlagsEnum_S_IFSOCK       = 0x0000c000,
	#define MakeMap_Test_FlagsEnum_S_IFSOCK MakeMap_Test_FlagsEnum_S_IFSOCK
};
int MakeMap_Test_FromFlagsEnum (int x, int *r);
int MakeMap_Test_ToFlagsEnum (int x, int *r);

enum MakeMap_Test_InternalEnum {
	MakeMap_Test_InternalEnum_Foo           = 0x0000000000000000,
	#define MakeMap_Test_InternalEnum_Foo     MakeMap_Test_InternalEnum_Foo
};
int MakeMap_Test_FromInternalEnum (gint64 x, gint64 *r);
int MakeMap_Test_ToInternalEnum (gint64 x, gint64 *r);

enum MakeMap_Test_SimpleFlagsEnum {
	MakeMap_Test_SimpleFlagsEnum_A             = 0x00000001,
	#define MakeMap_Test_SimpleFlagsEnum_A       MakeMap_Test_SimpleFlagsEnum_A
	MakeMap_Test_SimpleFlagsEnum_B             = 0x00000002,
	#define MakeMap_Test_SimpleFlagsEnum_B       MakeMap_Test_SimpleFlagsEnum_B
	MakeMap_Test_SimpleFlagsEnum_C             = 0x00000004,
	#define MakeMap_Test_SimpleFlagsEnum_C       MakeMap_Test_SimpleFlagsEnum_C
	MakeMap_Test_SimpleFlagsEnum_D             = 0x00000008,
	#define MakeMap_Test_SimpleFlagsEnum_D       MakeMap_Test_SimpleFlagsEnum_D
	MakeMap_Test_SimpleFlagsEnum_None          = 0x00000000,
	#define MakeMap_Test_SimpleFlagsEnum_None    MakeMap_Test_SimpleFlagsEnum_None
};
int MakeMap_Test_FromSimpleFlagsEnum (int x, int *r);
int MakeMap_Test_ToSimpleFlagsEnum (int x, int *r);

enum MakeMap_Test_TestEnum {
	MakeMap_Test_TestEnum_Bar           = 0x0000000000000001,
	#define MakeMap_Test_TestEnum_Bar     MakeMap_Test_TestEnum_Bar
	MakeMap_Test_TestEnum_Baz           = 0x0000000000000002,
	#define MakeMap_Test_TestEnum_Baz     MakeMap_Test_TestEnum_Baz
	MakeMap_Test_TestEnum_Foo           = 0x0000000000000000,
	#define MakeMap_Test_TestEnum_Foo     MakeMap_Test_TestEnum_Foo
	MakeMap_Test_TestEnum_Qux           = 0x0000000000000003,
	#define MakeMap_Test_TestEnum_Qux     MakeMap_Test_TestEnum_Qux
};
int MakeMap_Test_FromTestEnum (gint64 x, gint64 *r);
int MakeMap_Test_ToTestEnum (gint64 x, gint64 *r);

enum MakeMap_Rename_Colors {
	MakeMap_Rename_Colors_Blue          = 0x00000001,
	#define MakeMap_Rename_Colors_Blue    MakeMap_Rename_Colors_Blue
	MakeMap_Rename_Colors_Green         = 0x00000002,
	#define MakeMap_Rename_Colors_Green   MakeMap_Rename_Colors_Green
	MakeMap_Rename_Colors_Red           = 0x00000000,
	#define MakeMap_Rename_Colors_Red     MakeMap_Rename_Colors_Red
};
int MakeMap_Rename_FromColors (int x, int *r);
int MakeMap_Rename_ToColors (int x, int *r);


/*
 * Managed Structure Declarations
 */

struct MakeMap_Test_Baz;
struct MakeMap_Test_Child;
struct MakeMap_Test_Foo;
struct MakeMap_Test_FooHolder;
struct MakeMap_Test_ForDelegate;
struct MakeMap_Test_Parent;
struct MakeMap_Test_Qux;
struct MakeMap_Rename_Stat;

/*
 * Inferred Structure Declarations
 */

struct child;
struct foo;
struct foo_holder;
struct parent;

/*
 * Delegate Declarations
 */

typedef void (*DelArrayBaz) (int i, struct MakeMap_Test_Baz** b);
typedef void (*DelArrayFoo) (int i, struct MakeMap_Test_Foo* f);
typedef void (*DelBaz) (int i, struct MakeMap_Test_Baz* b);
typedef void (*DelFoo) (int i, struct MakeMap_Test_Foo f);
typedef void (*DelRefArrayBaz) (int i, struct MakeMap_Test_Baz*** b);
typedef void (*DelRefArrayFoo) (int i, struct MakeMap_Test_Foo** f);
typedef void (*DelRefBaz) (int i, struct MakeMap_Test_Baz** b);
typedef void (*DelRefFoo) (int i, struct MakeMap_Test_Foo* f);
typedef char* (*MyDelegate) (int b1, unsigned char b2, signed char b3, short s1, unsigned short us1, int i1, unsigned int ui1, gint64 l1, guint64 ul1, void* p1, void* p2, const char* s2, char* sb1, void* h, struct MakeMap_Test_ForDelegate fd);

/*
 * Structures
 */

struct MakeMap_Test_Baz {
	DelFoo         b1;
	DelRefFoo      b2;
	DelArrayFoo    b3;
	DelRefArrayFoo b4;
	DelBaz         b5;
	DelRefBaz      b6;
	DelArrayBaz    b7;
	DelRefArrayBaz b8;
};

struct MakeMap_Test_Child {
	int i;
	int j;
};

int
MakeMap_Test_FromChild (struct MakeMap_Test_Child* from, struct child *to);
int
MakeMap_Test_ToChild (struct child *from, struct MakeMap_Test_Child* to);


struct MakeMap_Test_Foo {
	int    foo;
	void*  p;
	gint64 autoconf_me;
};

int
MakeMap_Test_FromFoo (struct MakeMap_Test_Foo* from, struct foo *to);
int
MakeMap_Test_ToFoo (struct foo *from, struct MakeMap_Test_Foo* to);


struct MakeMap_Test_FooHolder {
	struct MakeMap_Test_Foo foo;   /* struct foo */
	gint64                  mode;
};

int
MakeMap_Test_FromFooHolder (struct MakeMap_Test_FooHolder* from, struct foo_holder *to);
int
MakeMap_Test_ToFooHolder (struct foo_holder *from, struct MakeMap_Test_FooHolder* to);


struct MakeMap_Test_ForDelegate {
	int i;
};

struct MakeMap_Test_Parent {
	int i;
};

int
MakeMap_Test_FromParent (struct MakeMap_Test_Parent* from, struct parent *to);
int
MakeMap_Test_ToParent (struct parent *from, struct MakeMap_Test_Parent* to);


struct MakeMap_Test_Qux {
	int                      i;
	struct MakeMap_Test_Baz* b;
};

struct MakeMap_Rename_Stat {
	gint64 st_atime_;  /* time_t */
};


/*
 * Functions
 */
void UseQux (DelFoo b, struct MakeMap_Test_Qux** q);

G_END_DECLS

#endif /* ndef INC_Mono_Posix_test_H */