aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2020-05-05 12:23:16 -0500
committerGanesh Viswanathan <dev@genotrance.com>2020-05-05 12:23:16 -0500
commit3fe6e51780d9d5c789d83060793643c7d9c1ca8d (patch)
tree057ce842ff6e0822ad39c555af0de4565b7abb1b
parent1f2d7892adc6e63443526bbc263af644bf91893c (diff)
downloadnimterop-3fe6e51780d9d5c789d83060793643c7d9c1ca8d.tar.gz
nimterop-3fe6e51780d9d5c789d83060793643c7d9c1ca8d.zip
Fix tast2.habi
-rw-r--r--nimterop.nimble2
-rw-r--r--tests/include/tast2.h2
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]; };