#include "pm.h"
Go to the source code of this file.
Defines | |
#define | __FILE_ID__ 0x04 |
Functions | |
PmReturn_t | func_new (pPmObj_t pco, pPmObj_t pglobals, pPmObj_t *r_pfunc) |
Function object type operations.
Definition in file func.c.
PmReturn_t func_new | ( | pPmObj_t | pco, | |
pPmObj_t | pglobals, | |||
pPmObj_t * | r_pfunc | |||
) |
Creates a Function Obj for the given Code Obj. Allocate space for a Func obj and fill the fields.
pco | ptr to code obj | |
pglobals | ptr to globals dict (from containing func/module) | |
r_pfunc | Return by reference; pointer to new function |