diff options
| author | Ganesh Viswanathan <dev@genotrance.com> | 2019-10-21 09:58:24 -0500 |
|---|---|---|
| committer | Ganesh Viswanathan <dev@genotrance.com> | 2019-10-21 09:58:24 -0500 |
| commit | 8eb950d46df86466798e239efc60e864da345921 (patch) | |
| tree | 45fa4fe7f38589739bbbd3586a782cae500d0974 | |
| parent | 2696e900c0096b4450bd1130aa4d762a03c3177f (diff) | |
| download | nimterop-8eb950d46df86466798e239efc60e864da345921.tar.gz nimterop-8eb950d46df86466798e239efc60e864da345921.zip | |
Fix tmath __
| -rw-r--r-- | tests/tmath.nim | 2 |
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") |
