11#ifndef PythonMonkey_PyBytesProxy_
12#define PythonMonkey_PyBytesProxy_
39 bool set(JSContext *cx, JS::HandleObject proxy, JS::HandleId
id,
40 JS::HandleValue v, JS::HandleValue receiver,
41 JS::ObjectOpResult &result)
const override;
44 JSContext *cx, JS::HandleObject proxy, JS::HandleId
id,
45 JS::MutableHandle<mozilla::Maybe<JS::PropertyDescriptor>> desc
54 void finalize(JS::GCContext *gcx, JSObject *proxy)
const override;
Struct for creating JS proxy objects for all objects.
This struct is the ProxyHandler for JS Proxy Iterable pythonmonkey creates to handle coercion from py...
Definition PyBytesProxyHandler.hh:22
static const char family
Definition PyBytesProxyHandler.hh:25
bool set(JSContext *cx, JS::HandleObject proxy, JS::HandleId id, JS::HandleValue v, JS::HandleValue receiver, JS::ObjectOpResult &result) const override
[[Set]]
Definition PyBytesProxyHandler.cc:252
bool getOwnPropertyDescriptor(JSContext *cx, JS::HandleObject proxy, JS::HandleId id, JS::MutableHandle< mozilla::Maybe< JS::PropertyDescriptor > > desc) const override
Definition PyBytesProxyHandler.cc:267
void finalize(JS::GCContext *gcx, JSObject *proxy) const override
Handles python object reference count when JS Proxy object is finalized.
Definition PyBytesProxyHandler.cc:418
PyBytesProxyHandler()
Definition PyBytesProxyHandler.hh:24
This struct is the ProxyHandler for JS Proxy Objects pythonmonkey creates to handle coercion from pyt...
Definition PyObjectProxyHandler.hh:24