Hyperlinks together importc like pragmas.
This commit is contained in:
parent
d927eb5854
commit
9ed984201d
2 changed files with 14 additions and 10 deletions
|
|
@ -5488,7 +5488,10 @@ spelled*:
|
|||
proc printf(formatstr: cstring) {.header: "<stdio.h>", importc: "printf", varargs.}
|
||||
|
||||
Note that this pragma is somewhat of a misnomer: Other backends will provide
|
||||
the same feature under the same name.
|
||||
the same feature under the same name. Also, if you are interfacing with C++
|
||||
you can use the `ImportCpp pragma <nimrodc.html#importcpp-pragma>`_ and
|
||||
interfacing with Objective-C the `ImportObjC pragma
|
||||
<nimrodc.html#importobjc-pragma>`_.
|
||||
|
||||
|
||||
Exportc pragma
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue