diff options
| -rw-r--r-- | nimterop.nimble | 2 | ||||
| -rw-r--r-- | tests/include/tast2.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/nimterop.nimble b/nimterop.nimble index bd4521d..984d0c5 100644 --- a/nimterop.nimble +++ b/nimterop.nimble @@ -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") diff --git a/tests/include/tast2.h b/tests/include/tast2.h index e1d4529..2ddb58e 100644 --- a/tests/include/tast2.h +++ b/tests/include/tast2.h @@ -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]; }; |
