This struct is a bundle of methods used by the JSArrayProxy type.
More...
#include <JSObjectIterProxy.hh>
This struct is a bundle of methods used by the JSArrayProxy type.
◆ JSObjectIterProxy_clear()
int JSObjectIterProxyMethodDefinitions::JSObjectIterProxy_clear |
( |
JSObjectIterProxy * |
self | ) |
|
|
static |
.tp_clear method
- Parameters
-
- Returns
- 0 on success
◆ JSObjectIterProxy_dealloc()
void JSObjectIterProxyMethodDefinitions::JSObjectIterProxy_dealloc |
( |
JSObjectIterProxy * |
self | ) |
|
|
static |
Deallocation method (.tp_dealloc), removes the reference to the underlying JSObject before freeing the JSArrayProxy.
- Parameters
-
◆ JSObjectIterProxy_iter()
PyObject * JSObjectIterProxyMethodDefinitions::JSObjectIterProxy_iter |
( |
JSObjectIterProxy * |
self | ) |
|
|
static |
.tp_iter method
- Parameters
-
- Returns
- PyObject* - an interator over the iterator
◆ JSObjectIterProxy_len()
PyObject * JSObjectIterProxyMethodDefinitions::JSObjectIterProxy_len |
( |
JSObjectIterProxy * |
self | ) |
|
|
static |
length method
- Parameters
-
- Returns
- PyObject* - number of objects left to iterate over in iteration
◆ JSObjectIterProxy_nextkey()
PyObject * JSObjectIterProxyMethodDefinitions::JSObjectIterProxy_nextkey |
( |
JSObjectIterProxy * |
self | ) |
|
|
static |
.tp_next method
- Parameters
-
- Returns
- PyObject* - next object in iteration
◆ JSObjectIterProxy_traverse()
int JSObjectIterProxyMethodDefinitions::JSObjectIterProxy_traverse |
( |
JSObjectIterProxy * |
self, |
|
|
visitproc |
visit, |
|
|
void * |
arg |
|
) |
| |
|
static |
.tp_traverse method
- Parameters
-
self | - The JSObjectIterProxy |
visit | - The function to be applied on each element of the list |
arg | - The argument to the visit function |
- Returns
- 0 on success
The documentation for this struct was generated from the following files: