mexportc.nim 244 B

12345678910
  1. {.used.} # ideally, would not be needed
  2. var fun0 {.exportc.} = 10
  3. proc fun1() {.exportc.} = discard
  4. proc fun2() {.exportc: "$1".} = discard
  5. proc fun3() {.exportc: "fun3Bis".} = discard
  6. when defined cpp:
  7. proc funx1() {.exportcpp.} = discard