rmquickjs-sys 0.0.1

Low-level binding API for MicroQuickJS
1
2
3
4
5
6
7
8
9
10
#include <stddef.h>
#include <stdint.h>

#include "mquickjs/mquickjs.h"

extern const JSSTDLibraryDef js_stdlib;

typedef JSValue (*JSHostCallback)(JSContext *ctx, JSValue *this_val, int argc, JSValue *argv, JSValue params);
void JS_SetHostCallback(JSHostCallback callback);
void* JS_GetContextOpaque(JSContext *ctx);