This struct is a bundle of methods used by the JSArrayProxy type.
More...
#include <JSArrayIterProxy.hh>
This struct is a bundle of methods used by the JSArrayProxy type.
◆ JSArrayIterProxy_clear()
int JSArrayIterProxyMethodDefinitions::JSArrayIterProxy_clear |
( |
JSArrayIterProxy * |
self | ) |
|
|
static |
.tp_clear method
- Parameters
-
- Returns
- 0 on success
◆ JSArrayIterProxy_dealloc()
void JSArrayIterProxyMethodDefinitions::JSArrayIterProxy_dealloc |
( |
JSArrayIterProxy * |
self | ) |
|
|
static |
Deallocation method (.tp_dealloc), removes the reference to the underlying JSObject before freeing the JSArrayProxy.
- Parameters
-
◆ JSArrayIterProxy_iter()
PyObject * JSArrayIterProxyMethodDefinitions::JSArrayIterProxy_iter |
( |
JSArrayIterProxy * |
self | ) |
|
|
static |
.tp_iter method
- Parameters
-
- Returns
- PyObject* - an interator over the iterator
◆ JSArrayIterProxy_len()
PyObject * JSArrayIterProxyMethodDefinitions::JSArrayIterProxy_len |
( |
JSArrayIterProxy * |
self | ) |
|
|
static |
length method
- Parameters
-
- Returns
- PyObject* - number of objects left to iterate over in iteration
◆ JSArrayIterProxy_next()
PyObject * JSArrayIterProxyMethodDefinitions::JSArrayIterProxy_next |
( |
JSArrayIterProxy * |
self | ) |
|
|
static |
.tp_next method
- Parameters
-
- Returns
- PyObject* - next object in iteration
◆ JSArrayIterProxy_traverse()
int JSArrayIterProxyMethodDefinitions::JSArrayIterProxy_traverse |
( |
JSArrayIterProxy * |
self, |
|
|
visitproc |
visit, |
|
|
void * |
arg |
|
) |
| |
|
static |
.tp_traverse method
- Parameters
-
self | - The JSArrayIterProxy |
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: