MCPcopy Create free account
hub / github.com/9miao/CrossApp / getJSTouchObject

Function getJSTouchObject

scripting/javascript/bindings/ScriptingCore.cpp:154–157  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154static void getJSTouchObject(JSContext *cx, CATouch *x, jsval &jsret) {
155 js_proxy_t *proxy = js_get_or_create_proxy<CATouch>(cx, x);
156 jsret = OBJECT_TO_JSVAL(proxy->obj);
157}
158
159static void removeJSTouchObject(JSContext *cx, CATouch *x, jsval &jsret) {
160 js_proxy_t* nproxy;

Callers 4

Calls 1

OBJECT_TO_JSVALFunction · 0.50

Tested by

no test coverage detected