nwaku/library
Ivan Folgueira Bande 29614e2e52
Refactoring of libwaku to export only C types (#1845)
* Simplifying libwaku.nim by extracting config parser to config.nim
* Adding json_base_event.nim
* Starting to control-version the libwaku.h

  We are creating this libwaku.h inspired by the one that is automatically
  generated by the nim compiler when `make libwaku` is invoked. Therefore,
  the self-generated header is then placed in:

  nimcache/release/libwaku/libwaku.h

* Better waku_example.c organization
* libwaku.nim: better memory management

  We need to create a 'cstring' internally from the 'const char*' passed
  from outside the library.

  We invoke 'allocShared' in order to create the internal 'cstring',
  and invoke 'deallocShared' in order to manually free the memory.
2023-07-07 10:53:00 +02:00
..
events Refactoring of libwaku to export only C types (#1845) 2023-07-07 10:53:00 +02:00
config.nim Refactoring of libwaku to export only C types (#1845) 2023-07-07 10:53:00 +02:00
libwaku.h Refactoring of libwaku to export only C types (#1845) 2023-07-07 10:53:00 +02:00
libwaku.nim Refactoring of libwaku to export only C types (#1845) 2023-07-07 10:53:00 +02:00