Fix tast2.h

This commit is contained in:
Ganesh Viswanathan 2020-05-05 12:23:16 -05:00
commit 3fe6e51780
2 changed files with 2 additions and 2 deletions

View file

@ -28,7 +28,7 @@ proc execTest(test: string, flags = "", runDocs = true) =
let docPath = "build/html_" & test.extractFileName.changeFileExt("") & "_docs"
rmDir docPath
mkDir docPath
buildDocs(@[test], docPath, nimArgs = flags)
buildDocs(@[test], docPath, nimArgs = "--hints:off " & flags)
task buildToast, "build toast":
execCmd("nim c --hints:off nimterop/toast.nim")

View file

@ -75,7 +75,7 @@ typedef int
**(*A12)(int, int b, int *c, int *, int *count[4], int (*func)(int, int)),
**(*A121)(float, float b, float *c, float *, float *count[4], float (*func)(float, float)),
**(*A122)(char, char b, char *c, char *, char *count[4], char (*func)(char, char));
typedef int A13(int, int, void (*func)(void));
typedef int (*A13)(int, int, void (*func)(void));
struct A14 { volatile char a1; };
struct A15 { char *a1; const int *a2[1]; };