aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2019-10-21 09:58:24 -0500
committerGanesh Viswanathan <dev@genotrance.com>2019-10-21 09:58:24 -0500
commit8eb950d46df86466798e239efc60e864da345921 (patch)
tree45fa4fe7f38589739bbbd3586a782cae500d0974
parent2696e900c0096b4450bd1130aa4d762a03c3177f (diff)
downloadnimterop-8eb950d46df86466798e239efc60e864da345921.tar.gz
nimterop-8eb950d46df86466798e239efc60e864da345921.zip
Fix tmath __
-rw-r--r--tests/tmath.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tmath.nim b/tests/tmath.nim
index b2f803b..9f3df79 100644
--- a/tests/tmath.nim
+++ b/tests/tmath.nim
@@ -20,7 +20,7 @@ cPlugin:
import strutils
proc onSymbol*(sym: var Symbol) {.exportc, dynlib.} =
- sym.name = sym.name.strip(chars={'_'})
+ sym.name = sym.name.strip(chars={'_'}).replace("__", "_")
cImport cSearchPath("math.h")