diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2020-04-01 21:47:15 -0500 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2020-04-01 21:47:15 -0500 |
| commit | ad8557d70e5c8ff3220582b7f78a2822f87d2476 (patch) | |
| tree | 05010be16f2e2864fe87a9ad94a63ff5110697f7 /tests/include | |
| parent | 54854a356adfacdedb85054df7dd5fc3d4eb02da (diff) | |
| download | nimterop-ad8557d70e5c8ff3220582b7f78a2822f87d2476.tar.gz nimterop-ad8557d70e5c8ff3220582b7f78a2822f87d2476.zip | |
ast2 proc pragmas, fix typedef struct X importc, convention selection, ast2 bitfield support
Diffstat (limited to 'tests/include')
| -rw-r--r-- | tests/include/tast2.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/include/tast2.h b/tests/include/tast2.h index db539c7..1518a85 100644 --- a/tests/include/tast2.h +++ b/tests/include/tast2.h @@ -1,3 +1,7 @@ +#ifdef __cplusplus +extern "C" { +#endif + #define A 1 #define B 1.0 #define C 0x10 @@ -26,7 +30,7 @@ struct A4 { typedef char *A9p[3]; //, A9[4]; typedef char *A10[3][6]; typedef char *(*A11)[3]; -typedef struct A1 *A111[12]; +typedef struct A0 *A111[12]; typedef int **(*A12)(int, int b, int *c, int *, int *count[4], int (*func)(int, int)); typedef int A13(int, int, void (*func)(void)); @@ -212,4 +216,8 @@ typedef enum VSPresetFormat { //struct A2 test_proc1(struct A0 a); +#endif + +#ifdef __cplusplus +} #endif
\ No newline at end of file |
