func.c File Reference

Function Object Type. More...

#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)


Detailed Description

Function Object Type.

Function object type operations.

Definition in file func.c.


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)
r_pfunc Return by reference; pointer to new function
Returns:
Return status

Definition at line 32 of file func.c.


Generated on Mon Oct 18 07:40:49 2010 for Python-on-a-chip by  doxygen 1.5.9