Logo
Explore Help
Sign In
logos-messaging/logos-delivery
1
0
Fork 0
You've already forked logos-delivery
mirror of https://github.com/logos-messaging/logos-delivery.git synced 2026-06-08 23:19:27 +00:00
Code Issues Packages Projects Releases Wiki Activity
logos-delivery/library/declare_lib.nim

11 lines
285 B
Nim
Raw Normal View History

Start using nim-ffi to implement libwaku (#3656) * deep changes in libwaku to adap to nim-ffi * start using ffi pragma in library * update some binding examples * add missing declare_lib.nim file * properly rename api files in library folder
2025-12-19 17:00:43 +01:00
import ffi
refactor: introduce proper logos_delivery layers folder structure (#3935) Co-authored-by: NagyZoltanPeter <113987313+NagyZoltanPeter@users.noreply.github.com>
2026-06-08 13:37:53 +02:00
import logos_delivery/waku/factory/waku
Start using nim-ffi to implement libwaku (#3656) * deep changes in libwaku to adap to nim-ffi * start using ffi pragma in library * update some binding examples * add missing declare_lib.nim file * properly rename api files in library folder
2025-12-19 17:00:43 +01:00
declareLibrary("waku")
proc set_event_callback(
ctx: ptr FFIContext[Waku], callback: FFICallBack, userData: pointer
) {.dynlib, exportc, cdecl.} =
ctx[].eventCallback = cast[pointer](callback)
ctx[].eventUserData = userData
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.0 Page: 61ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API