aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2019-01-30 22:34:03 -0600
committerGanesh Viswanathan <dev@genotrance.com>2019-01-30 22:34:03 -0600
commit619cbc5467f45a2abb9bd68192e101afd6b20b00 (patch)
treeba604f179d8d2b58196517b21e51cfd6ce5259c9
parentb0eba358344f69bbd81502b3b08d8081d8b27fb1 (diff)
downloadnimterop-enumnoncon.tar.gz
nimterop-enumnoncon.zip
Minor feedbackenumnoncon
-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