Numworks Epsilon  1.4.1
Graphing Calculator Operating System
bc.c File Reference
#include <stdbool.h>
#include <string.h>
#include <assert.h>
#include "py/runtime.h"
#include "py/bc0.h"
#include "py/bc.h"

Go to the source code of this file.

Macros

#define DEBUG_PRINT   (0)
 
#define DEBUG_printf(...)   (void)0
 
#define dump_args(...)   (void)0
 

Functions

mp_uint_t mp_decode_uint (const byte **ptr)
 
mp_uint_t mp_decode_uint_value (const byte *ptr)
 
const bytemp_decode_uint_skip (const byte *ptr)
 
STATIC NORETURN void fun_pos_args_mismatch (mp_obj_fun_bc_t *f, size_t expected, size_t given)
 
void mp_setup_code_state (mp_code_state_t *code_state, size_t n_args, size_t n_kw, const mp_obj_t *args)
 

Macro Definition Documentation

◆ DEBUG_PRINT

#define DEBUG_PRINT   (0)

Definition at line 39 of file bc.c.

◆ DEBUG_printf

#define DEBUG_printf (   ...)    (void)0

Definition at line 40 of file bc.c.

◆ dump_args

#define dump_args (   ...)    (void)0

Definition at line 100 of file bc.c.

Function Documentation

◆ fun_pos_args_mismatch()

STATIC NORETURN void fun_pos_args_mismatch ( mp_obj_fun_bc_t f,
size_t  expected,
size_t  given 
)

Definition at line 73 of file bc.c.

◆ mp_decode_uint()

mp_uint_t mp_decode_uint ( const byte **  ptr)

Definition at line 43 of file bc.c.

◆ mp_decode_uint_skip()

const byte* mp_decode_uint_skip ( const byte ptr)

Definition at line 67 of file bc.c.

◆ mp_decode_uint_value()

mp_uint_t mp_decode_uint_value ( const byte ptr)

Definition at line 61 of file bc.c.

◆ mp_setup_code_state()

void mp_setup_code_state ( mp_code_state_t code_state,
size_t  n_args,
size_t  n_kw,
const mp_obj_t args 
)

Definition at line 108 of file bc.c.