mirror of
https://github.com/logos-messaging/nim-ffi.git
synced 2026-05-17 07:39:34 +00:00
mv comment to an appropriate location
This commit is contained in:
parent
b53f3cee13
commit
397150e6bc
@ -73,7 +73,6 @@ proc nimtimerComplex*(
|
||||
# once, at the bottom of the top-level compilation-root file.
|
||||
# This call is a no-op unless -d:ffiGenBindings is passed to the compiler.
|
||||
genBindings()
|
||||
# reads -d:ffiOutputDir, -d:ffiNimSrcRelPath, -d:targetLang from compile flags
|
||||
|
||||
proc nimtimer_destroy*(ctx: pointer) {.dynlib, exportc, cdecl, raises: [].} =
|
||||
## Tears down the FFI context created by nimtimer_create.
|
||||
|
||||
@ -1635,6 +1635,8 @@ macro genBindings*(
|
||||
## -d:ffiNimSrcRelPath, or can be passed as explicit arguments.
|
||||
## This macro is a no-op unless -d:ffiGenBindings is set.
|
||||
##
|
||||
## This reads -d:ffiOutputDir, -d:ffiNimSrcRelPath, -d:targetLang from compile flags.
|
||||
##
|
||||
## Example (all via compile flags):
|
||||
## genBindings()
|
||||
## # nim c -d:ffiGenBindings -d:targetLang=rust \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user