From 058261c2037d277436d1dc64b53e669f90f0db0e Mon Sep 17 00:00:00 2001 From: Ganesh Viswanathan Date: Wed, 8 Apr 2020 17:21:23 -0500 Subject: ast2 tests and const bugfix --- tests/include/tast2.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'tests/include') diff --git a/tests/include/tast2.h b/tests/include/tast2.h index a819f5e..f4cd201 100644 --- a/tests/include/tast2.h +++ b/tests/include/tast2.h @@ -143,6 +143,17 @@ struct ucArrType2 { int *f2[][5]; }; +typedef struct fieldfuncfunc { + int *(*func1)(int f1, int *(*sfunc1)(int f1, int *(*ssfunc1)(int f1))); +}; + +int *func2(int f1, int *(*sfunc2)(int f1, int *(*ssfunc2)(int f1))); + +typedef struct { + const char *name; // description + const char *driver; // driver + int flags; +} BASS_DEVICEINFO; @@ -282,6 +293,17 @@ void int sqlite3_bind_blob(struct A1*, int, const void*, int n, void(*)(void*)); +typedef struct fieldfuncfunc { + int *(*func1)(int f1, int *(*sfunc1)(int f1, int *(*ssfunc1)(int f1))); +}; + +int *func2(int f1, int *(*sfunc2)(int f1, int *(*ssfunc2)(int f1))); + +typedef struct { + const char *name; // description + const char *driver; // driver + int flags; +} BASS_DEVICEINFO; -- cgit v1.2.3