Numworks Epsilon  1.4.1
Graphing Calculator Operating System
objgetitemiter.c File Reference
#include <stdlib.h>
#include "py/runtime.h"

Go to the source code of this file.

Classes

struct  _mp_obj_getitem_iter_t
 

Typedefs

typedef struct _mp_obj_getitem_iter_t mp_obj_getitem_iter_t
 

Functions

STATIC mp_obj_t it_iternext (mp_obj_t self_in)
 
mp_obj_t mp_obj_new_getitem_iter (mp_obj_t *args, mp_obj_iter_buf_t *iter_buf)
 

Variables

STATIC const mp_obj_type_t it_type
 

Typedef Documentation

◆ mp_obj_getitem_iter_t

Function Documentation

◆ it_iternext()

STATIC mp_obj_t it_iternext ( mp_obj_t  self_in)

Definition at line 38 of file objgetitemiter.c.

◆ mp_obj_new_getitem_iter()

mp_obj_t mp_obj_new_getitem_iter ( mp_obj_t args,
mp_obj_iter_buf_t iter_buf 
)

Definition at line 68 of file objgetitemiter.c.

Variable Documentation

◆ it_type

STATIC const mp_obj_type_t it_type
Initial value:
= {
.name = MP_QSTR_iterator,
.getiter = mp_identity_getiter,
.iternext = it_iternext,
}
STATIC mp_obj_t it_iternext(mp_obj_t self_in)
const mp_obj_type_t mp_type_type
Definition: objtype.c:969
mp_obj_t mp_identity_getiter(mp_obj_t self, mp_obj_iter_buf_t *iter_buf)
Definition: obj.c:507
qstr name
Definition: obj.h:478

Definition at line 60 of file objgetitemiter.c.