func.c File Reference

Function Object Type. More...

#include "pm.h"

Defines

#define __FILE_ID__   0x04

Functions

PmReturn_t func_new (pPmObj_t pco, pPmObj_t pglobals, pPmObj_t *r_pfunc)


Detailed Description

Function Object Type.

Function object type operations.


Function Documentation

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.

Parameters:
pco ptr to code obj
pglobals ptr to globals dict (from containing func/module)
Returns:
ptr to new func obj


Generated on Wed Feb 24 13:37:02 2010 for Python-on-a-chip by  doxygen 1.5.9