[oden] Native Modules
This commit is contained in:
parent
3b02faf9b4
commit
c574fd8cb8
8 changed files with 453 additions and 79 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue