[oden] Native Modules

This commit is contained in:
John Doty 2023-06-21 06:19:14 -07:00
parent 3b02faf9b4
commit c574fd8cb8
8 changed files with 453 additions and 79 deletions

View file

@ -137,6 +137,15 @@ JSValue JS_MakeUndefined_real() {
return JS_UNDEFINED;
}
void *JS_ValueGetPtr_real(JSValue val) {
void *JS_VALUE_GET_PTR_real(JSValue val) {
return JS_VALUE_GET_PTR(val);
}
int JS_VALUE_GET_INT_real(JSValue v) {
return JS_VALUE_GET_INT(v);
}
int JS_VALUE_GET_BOOL_real(JSValue v) {
return JS_VALUE_GET_BOOL(v);
}