mirror of
https://github.com/openharmony/third_party_quickjs.git
synced 2026-07-01 21:03:59 -04:00
@@ -50934,4 +50934,11 @@ void JS_AceSetConstructor(JSContext *ctx,
|
||||
JSValueConst proto)
|
||||
{
|
||||
JS_SetConstructor(ctx, func_obj, proto);
|
||||
}
|
||||
}
|
||||
|
||||
JSValue JS_GetNameSpace(JSContext *ctx, JSValueConst moduleVal)
|
||||
{
|
||||
JSModuleDef *m;
|
||||
m = JS_VALUE_GET_PTR(moduleVal);
|
||||
return js_get_module_ns(ctx, m);
|
||||
}
|
||||
|
||||
@@ -923,6 +923,7 @@ int JS_JudgeConditionBreakPoint(JSContext *ctx, const uint8_t *pc);
|
||||
/* for ace 2.0 */
|
||||
int JS_CountClassInstances(JSRuntime* rt, uint16_t class_id);
|
||||
void JS_AceSetConstructor(JSContext *ctx, JSValueConst func_obj, JSValueConst proto);
|
||||
JSValue JS_GetNameSpace(JSContext *ctx, JSValueConst moduleVal);
|
||||
|
||||
#undef js_unlikely
|
||||
#undef js_force_inline
|
||||
|
||||
Reference in New Issue
Block a user