aboutsummaryrefslogtreecommitdiff
path: root/tests/include/tast2.h
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2020-04-16 08:39:52 -0500
committerGanesh Viswanathan <dev@genotrance.com>2020-04-16 08:39:52 -0500
commit281d2609122f0697b060c1608fa8df6b70d8edad (patch)
treee688b7caa80315d4f216892e4bc717d00bd3845f /tests/include/tast2.h
parent6a9a35db61e1e47652fa667ff557555e87a6edeb (diff)
downloadnimterop-varargs.tar.gz
nimterop-varargs.zip
Fix Travis, tests for varargsvarargs
Diffstat (limited to 'tests/include/tast2.h')
-rw-r--r--tests/include/tast2.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/include/tast2.h b/tests/include/tast2.h
index fe78146..1c1e935 100644
--- a/tests/include/tast2.h
+++ b/tests/include/tast2.h
@@ -109,7 +109,7 @@ typedef enum VSPresetFormat {
// Proc vars
void
- *(*pcre_malloc)(size_t),
+ *(*pcre_malloc)(size_t, ...),
(*pcre_free)(void *),
*(*pcre_stack_malloc)(size_t);
@@ -144,7 +144,7 @@ struct ucArrType2 {
};
typedef struct fieldfuncfunc {
- int *(*func1)(int f1, int *(*sfunc1)(int f1, int *(*ssfunc1)(int f1)));
+ int *(*func1)(int f1, int *(*sfunc1)(int f1, int *(*ssfunc1)(int f1, ...)));
};
int *func2(int f1, int *(*sfunc2)(int f1, int *(*ssfunc2)(int f1)));
@@ -311,7 +311,7 @@ typedef enum VSPresetFormat {
// Proc vars
void
- *(*pcre_malloc)(size_t),
+ *(*pcre_malloc)(size_t, ...),
(*pcre_free)(void *),
*(*pcre_stack_malloc)(size_t);
@@ -336,7 +336,7 @@ 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 *(*func1)(int f1, int *(*sfunc1)(int f1, int *(*ssfunc1)(int f1, ...)));
};
int *func2(int f1, int *(*sfunc2)(int f1, int *(*ssfunc2)(int f1)));