PythonMonkey   v1.1.1 (dev)
Loading...
Searching...
No Matches
PyIterableProxyHandler.hh
Go to the documentation of this file.
1
11#ifndef PythonMonkey_PyIterableProxy_
12#define PythonMonkey_PyIterableProxy_
13
14
16
17
23public:
25 static const char family;
26
28 JSContext *cx, JS::HandleObject proxy, JS::HandleId id,
29 JS::MutableHandle<mozilla::Maybe<JS::PropertyDescriptor>> desc
30 ) const override;
31};
32
33#endif
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 PyIterableProxyHandler.hh:22
PyIterableProxyHandler()
Definition PyIterableProxyHandler.hh:24
static const char family
Definition PyIterableProxyHandler.hh:25
bool getOwnPropertyDescriptor(JSContext *cx, JS::HandleObject proxy, JS::HandleId id, JS::MutableHandle< mozilla::Maybe< JS::PropertyDescriptor > > desc) const override
Definition PyIterableProxyHandler.cc:211
This struct is the ProxyHandler for JS Proxy Objects pythonmonkey creates to handle coercion from pyt...
Definition PyObjectProxyHandler.hh:24