MCPcopy Create free account
hub / github.com/Distributive-Network/PythonMonkey / PyBaseProxyHandler

Class PyBaseProxyHandler

include/PyBaseProxyHandler.hh:24–31  ·  view source on GitHub ↗

* @brief base class for PyDictProxyHandler and PyListProxyHandler */

Source from the content-addressed store, hash-verified

22 * @brief base class for PyDictProxyHandler and PyListProxyHandler
23 */
24struct PyBaseProxyHandler : public js::BaseProxyHandler {
25public:
26 PyBaseProxyHandler(const void *family) : js::BaseProxyHandler(family) {};
27
28 bool getPrototypeIfOrdinary(JSContext *cx, JS::HandleObject proxy, bool *isOrdinary, JS::MutableHandleObject protop) const override final;
29 bool preventExtensions(JSContext *cx, JS::HandleObject proxy, JS::ObjectOpResult &result) const override final;
30 bool isExtensible(JSContext *cx, JS::HandleObject proxy, bool *extensible) const override final;
31};
32
33enum ProxySlots {PyObjectSlot, OtherSlot};
34

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected