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

Class JSStringProxyMethodDefinitions

include/JSStringProxy.hh:35–51  ·  view source on GitHub ↗

* @brief This struct is a bundle of methods used by the JSStringProxy type * */

Source from the content-addressed store, hash-verified

33 *
34 */
35struct JSStringProxyMethodDefinitions {
36public:
37 /**
38 * @brief Deallocation method (.tp_dealloc), removes the reference to the underlying JSString before freeing the JSStringProxy
39 *
40 * @param self - The JSStringProxy to be free'd
41 */
42 static void JSStringProxy_dealloc(JSStringProxy *self);
43
44 /**
45 * @brief copy protocol method for both copy and deepcopy
46 *
47 * @param self - The JSObjectProxy
48 * @return a copy of the string
49 */
50 static PyObject *JSStringProxy_copy_method(JSStringProxy *self);
51};
52
53// docs for methods, copied from cpython
54PyDoc_STRVAR(stringproxy_deepcopy__doc__,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected