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

Function SetProxyExtra

scripting/javascript/spidermonkey-android/include/jsproxy.h:306–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

304}
305
306inline void
307SetProxyExtra(RawObject obj, size_t n, const Value &extra)
308{
309 JS_ASSERT(IsProxy(obj));
310 JS_ASSERT(n <= 1);
311 SetReservedSlot(obj, JSSLOT_PROXY_EXTRA + n, extra);
312}
313
314JS_FRIEND_API(JSObject *)
315NewProxyObject(JSContext *cx, BaseProxyHandler *handler, const Value &priv,

Callers

nothing calls this directly

Calls 2

IsProxyFunction · 0.70
SetReservedSlotFunction · 0.70

Tested by

no test coverage detected