This struct is a bundle of methods used by the JSFunctionProxy type.
More...
#include <JSFunctionProxy.hh>
This struct is a bundle of methods used by the JSFunctionProxy type.
◆ JSFunctionProxy_call()
PyObject * JSFunctionProxyMethodDefinitions::JSFunctionProxy_call |
( |
PyObject * |
self, |
|
|
PyObject * |
args, |
|
|
PyObject * |
kwargs |
|
) |
| |
|
static |
Call method (.tp_call), called when the JSFunctionProxy is called.
- Parameters
-
self | - this callable, might be a free function or a method |
args | - args to the function |
kwargs | - keyword args to the function |
- Returns
- PyObject* - Result of the function call
◆ JSFunctionProxy_dealloc()
void JSFunctionProxyMethodDefinitions::JSFunctionProxy_dealloc |
( |
JSFunctionProxy * |
self | ) |
|
|
static |
Deallocation method (.tp_dealloc), removes the reference to the underlying JSFunction before freeing the JSFunctionProxy.
- Parameters
-
◆ JSFunctionProxy_new()
PyObject * JSFunctionProxyMethodDefinitions::JSFunctionProxy_new |
( |
PyTypeObject * |
type, |
|
|
PyObject * |
args, |
|
|
PyObject * |
kwds |
|
) |
| |
|
static |
New method (.tp_new), creates a new instance of the JSFunctionProxy type, exposed as the new() method in python.
- Parameters
-
type | - The type of object to be created, will always be JSFunctionProxyType or a derived type |
args | - arguments to the new() method, not used |
kwds | - keyword arguments to the new() method, not used |
- Returns
- PyObject* - A new instance of JSFunctionProxy
The documentation for this struct was generated from the following files: