diff --git a/examples/nim_timer/nim_timer.nim b/examples/nim_timer/nim_timer.nim index 947e749..10133e6 100644 --- a/examples/nim_timer/nim_timer.nim +++ b/examples/nim_timer/nim_timer.nim @@ -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. diff --git a/ffi.nim b/ffi.nim index a47ac2f..0b98793 100644 --- a/ffi.nim +++ b/ffi.nim @@ -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