]> gitweb.factorcode.org Git - factor.git/blob - vm/ffi_test.h
8991664526fe672a1721829dbcd5613ab034ed1f
[factor.git] / vm / ffi_test.h
1 DLLEXPORT void ffi_test_0(void);
2 DLLEXPORT int ffi_test_1(void);
3 DLLEXPORT int ffi_test_2(int x, int y);
4 DLLEXPORT int ffi_test_3(int x, int y, int z, int t);
5 DLLEXPORT float ffi_test_4(void);
6 DLLEXPORT double ffi_test_5(void);
7 DLLEXPORT double ffi_test_6(float x, float y);
8 DLLEXPORT double ffi_test_7(double x, double y);
9 DLLEXPORT double ffi_test_8(double x, float y, double z, float t, int w);
10 DLLEXPORT int ffi_test_9(int a, int b, int c, int d, int e, int f, int g);
11 DLLEXPORT int ffi_test_10(int a, int b, double c, int d, float e, int f, int g, int h);
12 struct foo { int x, y; };
13 DLLEXPORT int ffi_test_11(int a, struct foo b, int c);
14 struct rect { float x, y, w, h; };
15 DLLEXPORT int ffi_test_12(int a, int b, struct rect c, int d, int e, int f);
16 DLLEXPORT int ffi_test_13(int a, int b, int c, int d, int e, int f, int g, int h, int i, int j, int k);
17 DLLEXPORT struct foo ffi_test_14(int x, int y);
18 DLLEXPORT char *ffi_test_15(char *x, char *y);