davide carboni / Mbed 2 deprecated pymite_http_get

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

PmCo_s Struct Reference

PmCo_s Struct Reference

Code Object. More...

#include <codeobj.h>

Data Fields

PmObjDesc_t od
 object descriptor
PmMemSpace_t co_memspace:8
 memory space selector
uint8_t const * co_codeimgaddr
 address in progmem of the code image, or of code img obj in heap
pPmTuple_t co_names
 address in RAM of names tuple
pPmTuple_t co_consts
 address in RAM of constants tuple
uint8_t co_nfreevars
 Number of freevars.
pPmTuple_t co_cellvars
 address in RAM of cellvars tuple
uint16_t co_nlocals
 Number of local variables.
uint8_t const * co_codeaddr
 address in memspace of bytecode (or native function)
uint8_t co_argcount
 number of positional arguments the function expects
uint8_t co_flags
 compiler flags

Detailed Description

Code Object.

An extended object that holds only the most frequently used parts of the static code image. Other parts can be obtained by inspecting the code image itself.

Definition at line 61 of file codeobj.h.


Field Documentation

uint8_t co_argcount

number of positional arguments the function expects

Definition at line 84 of file codeobj.h.

address in RAM of cellvars tuple

Definition at line 77 of file codeobj.h.

uint8_t const* co_codeaddr

address in memspace of bytecode (or native function)

Definition at line 82 of file codeobj.h.

uint8_t const* co_codeimgaddr

address in progmem of the code image, or of code img obj in heap

Definition at line 68 of file codeobj.h.

address in RAM of constants tuple

Definition at line 72 of file codeobj.h.

uint8_t co_flags

compiler flags

Definition at line 86 of file codeobj.h.

memory space selector

Definition at line 66 of file codeobj.h.

address in RAM of names tuple

Definition at line 70 of file codeobj.h.

uint8_t co_nfreevars

Number of freevars.

Definition at line 75 of file codeobj.h.

uint16_t co_nlocals

Number of local variables.

Definition at line 79 of file codeobj.h.

object descriptor

Definition at line 64 of file codeobj.h.