2026-02-13 11:59:42 +01:00

11 lines
293 B
Nim

import ffi
import waku/factory/waku
declareLibrary("logosdelivery")
proc logosdelivery_set_event_callback(
ctx: ptr FFIContext[Waku], callback: FFICallBack, userData: pointer
) {.dynlib, exportc, cdecl.} =
ctx[].eventCallback = cast[pointer](callback)
ctx[].eventUserData = userData