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

Go to the source code of this file.

Classes

struct  _mp_obj_map_t
 

Typedefs

typedef struct _mp_obj_map_t mp_obj_map_t
 

Functions

STATIC mp_obj_t map_make_new (const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *args)
 
STATIC mp_obj_t map_iternext (mp_obj_t self_in)
 

Variables

const mp_obj_type_t mp_type_map
 

Typedef Documentation

◆ mp_obj_map_t

typedef struct _mp_obj_map_t mp_obj_map_t

Function Documentation

◆ map_iternext()

STATIC mp_obj_t map_iternext ( mp_obj_t  self_in)

Definition at line 51 of file objmap.c.

◆ map_make_new()

STATIC mp_obj_t map_make_new ( const mp_obj_type_t type,
size_t  n_args,
size_t  n_kw,
const mp_obj_t args 
)

Definition at line 39 of file objmap.c.

Variable Documentation

◆ mp_type_map

const mp_obj_type_t mp_type_map
Initial value:
= {
.name = MP_QSTR_map,
.make_new = map_make_new,
.getiter = mp_identity_getiter,
.iternext = map_iternext,
}
STATIC mp_obj_t map_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *args)
Definition: objmap.c:39
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
STATIC mp_obj_t map_iternext(mp_obj_t self_in)
Definition: objmap.c:51

Definition at line 67 of file objmap.c.