Mercurial > pub > dyncall > dyncall
diff test/call_suite/globals.h @ 515:c9c546f8598b
- added _Bool type to call_suite* tests
author | Tassilo Philipp |
---|---|
date | Sun, 10 Apr 2022 21:05:33 +0200 |
parents | ed7d1f5e7973 |
children |
line wrap: on
line diff
--- a/test/call_suite/globals.h Sun Apr 10 16:18:28 2022 +0200 +++ b/test/call_suite/globals.h Sun Apr 10 21:05:33 2022 +0200 @@ -23,8 +23,10 @@ */ +#include "dyncall_types.h" -#define DEF_TYPES X(c,char) X(s,short) X(i,int) X(j,long) X(l,long long) X(C,unsigned char) X(S,unsigned short) X(I,unsigned int) X(J,unsigned long) X(L,unsigned long long) X(p,void*) X(f,float) X(d,double) + +#define DEF_TYPES X(B,DCbool) X(c,char) X(s,short) X(i,int) X(j,long) X(l,long long) X(C,unsigned char) X(S,unsigned short) X(I,unsigned int) X(J,unsigned long) X(L,unsigned long long) X(p,void*) X(f,float) X(d,double) #define X(CH,T) extern T *K_##CH; extern T *V_##CH; DEF_TYPES