mirror of
https://github.com/logos-messaging/logos-messaging-nim.git
synced 2026-01-03 22:43:09 +00:00
* feat(cbindings): first commit - waku relay (#1632) * test_app.nim: fix compilation issue. App.init(..) -> App.new(..) * Simplifying library name (libwaku) and standardizing function names (waku_*) * Proper wrapper of the waku_node API and creation of the libwaku.a * Rolling back changes that are not needed * Rolling back changes that are out of the scope of this task * wakunode.nim: Removing unnecessary import * Aplying PR suggestions * Renaming 'waku.h' -> 'libwaku.h' * Use of 'isNil' instead of '== nil' * libwaku.nim: explicitly setting waku_poll() as gcsafe
9 lines
231 B
Nim
9 lines
231 B
Nim
|
|
type JsonSignal* = ref object of RootObj
|
|
# https://rfc.vac.dev/spec/36/#jsonsignal-type
|
|
eventType* {.requiresInit.}: string
|
|
|
|
method `$`*(jsonSignal: JsonSignal): string {.base.} = discard
|
|
# All events should implement this
|
|
|