Numworks Epsilon  1.4.1
Graphing Calculator Operating System
objcell.c File Reference
#include "py/obj.h"

Go to the source code of this file.

Classes

struct  _mp_obj_cell_t
 

Typedefs

typedef struct _mp_obj_cell_t mp_obj_cell_t
 

Functions

mp_obj_t mp_obj_cell_get (mp_obj_t self_in)
 
void mp_obj_cell_set (mp_obj_t self_in, mp_obj_t obj)
 
STATIC void cell_print (const mp_print_t *print, mp_obj_t o_in, mp_print_kind_t kind)
 
mp_obj_t mp_obj_new_cell (mp_obj_t obj)
 

Variables

STATIC const mp_obj_type_t mp_type_cell
 

Typedef Documentation

◆ mp_obj_cell_t

typedef struct _mp_obj_cell_t mp_obj_cell_t

Function Documentation

◆ cell_print()

STATIC void cell_print ( const mp_print_t print,
mp_obj_t  o_in,
mp_print_kind_t  kind 
)

Definition at line 45 of file objcell.c.

◆ mp_obj_cell_get()

mp_obj_t mp_obj_cell_get ( mp_obj_t  self_in)

Definition at line 34 of file objcell.c.

◆ mp_obj_cell_set()

void mp_obj_cell_set ( mp_obj_t  self_in,
mp_obj_t  obj 
)

Definition at line 39 of file objcell.c.

◆ mp_obj_new_cell()

mp_obj_t mp_obj_new_cell ( mp_obj_t  obj)

Definition at line 66 of file objcell.c.

Variable Documentation

◆ mp_type_cell

STATIC const mp_obj_type_t mp_type_cell
Initial value:
= {
.name = MP_QSTR_,
.print = cell_print,
}
STATIC void cell_print(const mp_print_t *print, mp_obj_t o_in, mp_print_kind_t kind)
Definition: objcell.c:45
const mp_obj_type_t mp_type_type
Definition: objtype.c:969
qstr name
Definition: obj.h:478

Definition at line 58 of file objcell.c.