diff options
author | Araq <rumpf_a@web.de> | 2011-04-12 01:13:42 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2011-04-12 01:13:42 +0200 |
commit | cd292568d775d55d9abb51e962882ecda12c03a9 (patch) | |
tree | 85451f0e1f17dc0463350915f12bdd0a82a73455 /compiler/c2nim/tests/systest2.c | |
parent | 46c41e43690cba9bc1caff6a994bb6915df8a1b7 (diff) | |
download | Nim-cd292568d775d55d9abb51e962882ecda12c03a9.tar.gz |
big repo cleanup
Diffstat (limited to 'compiler/c2nim/tests/systest2.c')
-rwxr-xr-x | compiler/c2nim/tests/systest2.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/compiler/c2nim/tests/systest2.c b/compiler/c2nim/tests/systest2.c new file mode 100755 index 000000000..bf3027cfc --- /dev/null +++ b/compiler/c2nim/tests/systest2.c @@ -0,0 +1,17 @@ +#ifdef C2NIM +# header "iup.h" +# cdecl +# mangle "'GTK_'{.*}" "TGtk$1" +# mangle "'PGTK_'{.*}" "PGtk$1" +#endif + +typedef struct stupidTAG { + mytype a, b; +} GTK_MyStruct, *PGTK_MyStruct; + +typedef struct { + mytype a, b; +} GTK_MyStruct, *PGTK_MyStruct; + +int IupConvertXYToPos(PIhandle ih, int x, int y); + |