Home
last modified time | relevance | path

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

/AliOS-Things-master/components/amp/engine/quickjs_engine/quickjs/examples/
A Dpoint.c36 static JSClassID js_point_class_id; variable
40 JSPointData *s = JS_GetOpaque(val, js_point_class_id); in js_point_finalizer()
65 obj = JS_NewObjectProtoClass(ctx, proto, js_point_class_id); in js_point_ctor()
79 JSPointData *s = JS_GetOpaque2(ctx, this_val, js_point_class_id); in js_point_get_xy()
90 JSPointData *s = JS_GetOpaque2(ctx, this_val, js_point_class_id); in js_point_set_xy()
106 JSPointData *s = JS_GetOpaque2(ctx, this_val, js_point_class_id); in js_point_norm()
128 JS_NewClassID(&js_point_class_id); in js_point_init()
129 JS_NewClass(JS_GetRuntime(ctx), js_point_class_id, &js_point_class); in js_point_init()
137 JS_SetClassProto(ctx, js_point_class_id, point_proto); in js_point_init()

Completed in 2 milliseconds