* @brief This struct is a bundle of methods used by the JSStringProxy type * */
| 33 | * |
| 34 | */ |
| 35 | struct JSStringProxyMethodDefinitions { |
| 36 | public: |
| 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 |
| 54 | PyDoc_STRVAR(stringproxy_deepcopy__doc__, |
nothing calls this directly
no outgoing calls
no test coverage detected