mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-15 09:26:38 +00:00
707f3e8bf0
* feat: store event callback in `Context` * feat: add userData to callbacks
7 lines
194 B
Nim
7 lines
194 B
Nim
|
|
type
|
|
WakuCallBack* = proc(callerRet: cint,
|
|
msg: ptr cchar,
|
|
len: csize_t,
|
|
userData: pointer) {.cdecl, gcsafe, raises: [].}
|