go-waku/library/c/cgo_utils.c
2023-08-10 09:30:38 -04:00

10 lines
246 B
C

#include <stdlib.h>
#include <stddef.h>
#include <cgo_utils.h>
// This is a bridge function to execute C callbacks.
// It's used internally in go-waku. Do not call directly
void _waku_execCB(WakuCallBack op, char* a, size_t b) {
op(a, b);
}