Home
last modified time | relevance | path

Searched refs:app_options (Results 1 – 2 of 2) sorted by relevance

/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/utils/ui/
A Dapp_entry.c19 app_options_t app_options; variable
37 memset(&app_options, 0, sizeof(app_options_t)); in native_app_entry()
40 app_options.object = JS_DupValue(ctx, irq_cb); in native_app_entry()
46 app_options.global_data = JS_DupValue(ctx, irq_cb); in native_app_entry()
53 app_options.on_launch = JS_DupValue(ctx, irq_cb); in native_app_entry()
60 app_options.on_error = JS_DupValue(ctx, irq_cb); in native_app_entry()
67 app_options.on_exit = JS_DupValue(ctx, irq_cb); in native_app_entry()
79 JSValue val = JS_Call(ctx, app_options.on_launch, JS_UNDEFINED, 1, &value); in app_entry()
/AliOS-Things-master/components/amp/engine/duktape_engine/startup/
A Dapp_entry.c17 app_options_t app_options; variable
32 memset(&app_options, 0, sizeof(app_options_t)); in native_app_entry()
36 app_options.object = be_ref(ctx); in native_app_entry()
49 app_options.global_data = be_ref(ctx); in native_app_entry()
64 app_options.on_launch = be_ref(ctx); in native_app_entry()
79 app_options.on_error = be_ref(ctx); in native_app_entry()
94 app_options.on_exit = be_ref(ctx); in native_app_entry()
108 be_push_ref(ctx, app_options.on_launch); in app_entry()

Completed in 8 milliseconds