Пример #1
0
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);
}
Пример #2
0
void push_camera_context(QSP_ARG_DECL  PGR_Cam *pgcp)
{
	push_dobj_context(pgcp->pc_do_icp);
}