aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.nims2
-rw-r--r--nimterop/globals.nim2
-rw-r--r--nimterop/types.nim2
3 files changed, 3 insertions, 3 deletions
diff --git a/config.nims b/config.nims
index f553869..d43b04f 100644
--- a/config.nims
+++ b/config.nims
@@ -9,6 +9,6 @@ when defined(MacOSX):
else:
switch("gcc.linkerexe", "g++")
-# Workaround for NilAccessError crash on Windows
+# Workaround for NilAccessError crash on Windows #98
when defined(Windows):
switch("gc", "markAndSweep") \ No newline at end of file
diff --git a/nimterop/globals.nim b/nimterop/globals.nim
index 818b0d0..bf9a0ef 100644
--- a/nimterop/globals.nim
+++ b/nimterop/globals.nim
@@ -1,4 +1,4 @@
-import segfaults, sequtils, sets, tables
+import sequtils, sets, tables
import regex
diff --git a/nimterop/types.nim b/nimterop/types.nim
index 15fe317..ecc5345 100644
--- a/nimterop/types.nim
+++ b/nimterop/types.nim
@@ -37,7 +37,7 @@ template enumOp*(op, typ, typout) =
proc op*(x: int, y: typ): typout {.borrow.}
proc op*(x, y: typ): typout {.borrow.}
-template defineEnum*(typ: untyped) =
+template defineEnum*(typ) =
type
typ* = distinct int