mirror of
https://github.com/status-im/go-waku.git
synced 2025-01-15 00:04:36 +00:00
10 lines
288 B
C
10 lines
288 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, int retCode, char* msg, void * user_data) {
|
|
op(retCode, msg, user_data);
|
|
}
|