diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2020-03-25 15:17:20 -0500 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2020-03-25 15:17:20 -0500 |
| commit | 8b9c39f42eec79607392c81538e08da1b814809a (patch) | |
| tree | a6971f90c00d67bc0e28476727380f0033ba3fa1 /tests/include | |
| parent | e98564528ee8a9fc934bb2de31114b66673b3eaa (diff) | |
| download | nimterop-8b9c39f42eec79607392c81538e08da1b814809a.tar.gz nimterop-8b9c39f42eec79607392c81538e08da1b814809a.zip | |
ast2 newTypeIdent cleanup, pragma tests, docs.nim docs
Diffstat (limited to 'tests/include')
| -rw-r--r-- | tests/include/tast2.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/tests/include/tast2.h b/tests/include/tast2.h index 84505db..8e84b01 100644 --- a/tests/include/tast2.h +++ b/tests/include/tast2.h @@ -11,7 +11,7 @@ typedef struct A3 {}; typedef struct A4 A4, *A4p; typedef const int A5; typedef int *A6; -typedef A0 **A7; +typedef struct A0 **A7; typedef void *A8; // Forward declaration @@ -104,6 +104,8 @@ typedef enum VSPresetFormat { // DUPLICATES +#ifndef HEADER + #define A 1 #define B 1.0 #define C 0x10 @@ -117,7 +119,7 @@ typedef struct A3 {}; typedef struct A4 A4, *A4p; typedef const int A5; typedef int *A6; -typedef A0 **A7; +typedef struct A0 **A7; typedef void *A8; // Forward declaration @@ -131,7 +133,7 @@ typedef char *(*A11)[3]; typedef struct A1 *A111[12]; typedef int **(*A12)(int, int b, int *c, int *, int *count[4], int (*func)(int, int)); -typedef int A13(int, int); +typedef int A13(int, int, void (*func)(void)); struct A14 { volatile char a1; }; struct A15 { char *a1; const int *a2[1]; }; @@ -200,4 +202,6 @@ typedef enum VSPresetFormat { // Anonymous //typedef struct { char a1; }; -//struct A2 test_proc1(struct A0 a);
\ No newline at end of file +//struct A2 test_proc1(struct A0 a); + +#endif
\ No newline at end of file |
