aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2020-01-16 12:50:24 -0600
committerGanesh Viswanathan <dev@genotrance.com>2020-01-16 12:50:24 -0600
commitd053355eadcef414519c51c9210975c3062cb3e9 (patch)
treee38fc936e58374adc95ebc4955793930a7c496ef
parent5241aee0fcb1a6a75b38ef1a73ed9b0f9113f2d7 (diff)
parent8eb586fd8064486612e19fb18e02b714ad803067 (diff)
downloadnimterop-d053355eadcef414519c51c9210975c3062cb3e9.tar.gz
nimterop-d053355eadcef414519c51c9210975c3062cb3e9.zip
Merge branch 'newalgo' of https://github.com/nimterop/nimterop into newalgo
-rw-r--r--nimterop/getters.nim2
-rw-r--r--nimterop/toast.nim4
2 files changed, 4 insertions, 2 deletions
diff --git a/nimterop/getters.nim b/nimterop/getters.nim
index be58a48..d56dd61 100644
--- a/nimterop/getters.nim
+++ b/nimterop/getters.nim
@@ -30,6 +30,8 @@ yield""".split(Whitespace).toHashSet()
# Types related
+# Types related
+
const gTypeMap* = {
# char
"char": "cchar",
diff --git a/nimterop/toast.nim b/nimterop/toast.nim
index 3761d3e..1909c4a 100644
--- a/nimterop/toast.nim
+++ b/nimterop/toast.nim
@@ -162,9 +162,9 @@ proc main(
# Rerun nim check on stubbed wrapper
(check, err) = execCmdEx(&"{gState.nim} check {outputFile}")
- doAssert err == 0, data & "# Nim check with stub failed:\n\n" & check
+ doAssert err == 0, data & "\n# Nim check with stub failed:\n\n" & check
else:
- doAssert err == 0, outputFile.readFile() & "# Nim check failed:\n\n" & check
+ doAssert err == 0, outputFile.readFile() & "\n# Nim check failed:\n\n" & check
# Print wrapper if temporarily redirected to file
if check and output.len == 0: