11#ifndef PythonMonkey_JSStringProxy_
12#define PythonMonkey_JSStringProxy_
18#include <unordered_set>
55 "__deepcopy__($self, memo, /)\n"
60 "__copy__($self, /)\n"
68static PyMethodDef JSStringProxy_methods[] = {
std::unordered_set< JSStringProxy * > jsStringProxies
Definition JSStringProxy.cc:15
PyTypeObject JSStringProxyType
Struct for the JSStringProxyType, used by all JSStringProxy objects.
Definition pythonmonkey.cc:158
PyDoc_STRVAR(stringproxy_deepcopy__doc__, "__deepcopy__($self, memo, /)\n" "--\n" "\n")
This struct is a bundle of methods used by the JSStringProxy type.
Definition JSStringProxy.hh:35
static PyObject * JSStringProxy_copy_method(JSStringProxy *self)
copy protocol method for both copy and deepcopy
Definition JSStringProxy.cc:25
static void JSStringProxy_dealloc(JSStringProxy *self)
Deallocation method (.tp_dealloc), removes the reference to the underlying JSString before freeing th...
Definition JSStringProxy.cc:19
The typedef for the backing store that will be used by JSStringProxy objects. All it contains is a po...
Definition JSStringProxy.hh:24
PyUnicodeObject str
Definition JSStringProxy.hh:25
JS::PersistentRootedValue * jsString
Definition JSStringProxy.hh:26