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

Go to the source code of this file.

Classes

struct  _mp_obj_zip_t
 

Typedefs

typedef struct _mp_obj_zip_t mp_obj_zip_t
 

Functions

STATIC mp_obj_t zip_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 zip_iternext (mp_obj_t self_in)
 

Variables

const mp_obj_type_t mp_type_zip
 

Typedef Documentation

◆ mp_obj_zip_t

typedef struct _mp_obj_zip_t mp_obj_zip_t

Function Documentation

◆ zip_iternext()

STATIC mp_obj_t zip_iternext ( mp_obj_t  self_in)

Definition at line 51 of file objzip.c.

◆ zip_make_new()

STATIC mp_obj_t zip_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 objzip.c.

Variable Documentation

◆ mp_type_zip

const mp_obj_type_t mp_type_zip
Initial value:
= {
.name = MP_QSTR_zip,
.make_new = zip_make_new,
.getiter = mp_identity_getiter,
.iternext = zip_iternext,
}
STATIC mp_obj_t zip_iternext(mp_obj_t self_in)
Definition: objzip.c:51
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
STATIC mp_obj_t zip_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *args)
Definition: objzip.c:39
qstr name
Definition: obj.h:478

Definition at line 70 of file objzip.c.