static COMMAND_FUNC( do_push_context ) { const char *s; Item_Context *icp; s=NAMEOF("name for new context"); NEW_ITEM_CONTEXT(icp); // allocates memory and pts icp, but does not initalize? SET_CTX_NAME(icp,savestr(s)); push_dobj_context(icp); }
void push_camera_context(QSP_ARG_DECL PGR_Cam *pgcp) { push_dobj_context(pgcp->pc_do_icp); }