Skip to content

Commit

Permalink
fix cpp exportc using workaround from nim-lang#10578
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Sep 7, 2019
1 parent 155e952 commit 9206e7e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions compiler/semalias.nim
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import "."/[ast,options]

{.emit: "NIM_EXTERNC".}
proc isMacroRealGeneric*(s: PSym): bool {.exportc.} =
if s.kind != skMacro: return false
if s.ast == nil: return false
Expand Down

0 comments on commit 9206e7e

Please sign in to comment.