Skip to content

Commit

Permalink
fix cpp exportc using workaround from #10578
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Sep 1, 2019
1 parent 1748dfb commit 7082319
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 7082319

Please sign in to comment.