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 |
| uint8_t const* co_codeaddr |
| uint8_t const* co_codeimgaddr |
| uint8_t co_nfreevars |
| uint16_t co_nlocals |
Generated on Tue Jul 12 2022 17:07:02 by
1.7.2