Revision 929f7874bd2925220a1375868df93a45e83c086a authored by hudson@andromeda.local on 01 August 2010, 23:13:27 UTC, committed by hudson@andromeda.local on 01 August 2010, 23:13:27 UTC
1 parent 7d9d659
pymite-helpers.h
/** \file
* PyMite wrappers
*/
#ifndef _pymite_h_
#define _pymite_h_
#include "pm.h"
#define PM_ARG_INT(num) \
( { \
pPmObj_t pn = NATIVE_GET_LOCAL(num); \
if( OBJ_GET_TYPE(pn) != OBJ_TYPE_INT ) \
{ \
PM_RAISE( retval, PM_RET_EX_TYPE ); \
return retval; \
} \
((pPmInt_t)pn)->val; \
} )
#endif
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...