Go to the source code of this file.
Classes | |
| struct | PmFunc_s |
Typedefs | |
| typedef struct PmFunc_s | PmFunc_t |
| typedef struct PmFunc_s * | pPmFunc_t |
Functions | |
| PmReturn_t | func_new (pPmObj_t pco, pPmObj_t pglobals, pPmObj_t *r_pfunc) |
Function object type header.
Function obj
A function is like an instance of a code obj. Contains ptr to its code obj and has its own attributes dict.
The first (__main__) module that is executed has a function obj created for it to execute the bytecode which builds the module.
| PmReturn_t func_new | ( | pPmObj_t | pco, | |
| pPmObj_t | pglobals, | |||
| pPmObj_t * | r_pfunc | |||
| ) |
1.5.9