This commit is contained in:
Ivan FB 2026-05-12 03:07:13 +02:00
parent 66d48fdaa6
commit 7a0c04dea5
No known key found for this signature in database
GPG Key ID: DF0C67A04C543270
2 changed files with 4 additions and 3 deletions

View File

@ -72,7 +72,8 @@ proc nimtimerComplex*(
# In a multi-file library, import all sub-modules first and call genBindings()
# 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
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.

View File

@ -7,5 +7,5 @@ import
export atomics, tables
export chronos, chronicles
export
atomics, alloc, ffi_library, ffi_macro, ffi_types, ffi_context,
ffi_thread_request, serial
atomics, alloc, ffi_library, ffi_macro, ffi_types, ffi_context, ffi_thread_request,
serial