View difference between Paste ID: c4QNthMQ and dYECMDpd
SHOW: | | - or go back to the newest paste.
1
class myNs.MyClass, header: "my_macro.h":
2
   proc myMethod: void
3
4
## Generates
5-
type MyClass {.header: "my_macro.h", importc: "myNs::MyClass".} = object
5+
type MyClass {.header: "my_macro.h", importc: "myNs::MyClass".} = object
6
7
8
## Or
9
using myNs
10
class MyClass, header: "my_macro.h":
11
   proc myMethod: void
12
13
## Generates
14
{.emit: "using namespace myNs;".}
15
type MyClass {.header: "my_macro.h", importc: "MyClass".} = object