mirror of https://github.com/waku-org/nwaku.git
1e8f577104
* libwaku: Avoid global variable and changing callback signature * Better signature for the callback. Two new parameters have been added: one aimed to allow passing the caller result code; the other param is to pass an optional userData pointer that might need to be linked locally with the Context object. For example, this is needed in Rust to make the passed closures live as long as the Context. * waku_example.c: adaptation to the latest changes * libwaku.h: removing 'waku_set_user_data' function * libwaku.nim: renaming parameter in WakuCallBack (isOk -> callerRet) |
||
---|---|---|
.. | ||
events | ||
waku_thread | ||
alloc.nim | ||
libwaku.h | ||
libwaku.nim |