Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 1447 → Rev 1448

/demos/trunk/bca/fab_lib/fab_msg.h
18,7 → 18,7
* http://shark.sssup.it
*/
 
/* CVS : $Id: fab_msg.h,v 1.1 2002-10-01 10:25:02 pj Exp $ */
/* CVS : $Id: fab_msg.h,v 1.2 2004-05-23 08:59:28 giacomo Exp $ */
 
/*
* Copyright (C) 2000 Fabio Calabrese <fabiocalabrese77@yahoo.it>
81,8 → 81,8
#define FAB_clr() clear()
 
void FAB_print(char * InitMsg, char * msg);
#define FAB_msg(TEST,INITMSG,OKMSG,ERRORMSG) __FAB_go2((TEST),(INITMSG),(OKMSG),(ERRORMSG),FAB_EXIT_NO)
#define FAB_go(TEST,INITMSG,OKMSG,ERRORMSG,EXITFLAG) __FAB_go2((TEST),(INITMSG),(OKMSG),(ERRORMSG),(EXITFLAG))
#define FAB_msg(TEST,OKMSG,ERRORMSG) __FAB_go((TEST),(OKMSG),(ERRORMSG),FAB_EXIT_NO)
#define FAB_go(TEST,OKMSG,ERRORMSG,EXITFLAG) __FAB_go((TEST),(OKMSG),(ERRORMSG),(EXITFLAG))
//--------------------------------------------------
 
 
89,8 → 89,6
// Altro...
 
void __FAB_go(int test, char * OkMsg, char * ErrorMsg,int EXITflag);
#define __FAB_go2(TEST,INITMSG,OKMSG,ERRORMSG,EXITFLAG) {if ((INITMSG)!=NULL) cprintf("\n[%s]",(INITMSG)); __FAB_go((TEST),(OKMSG),(ERRORMSG),(EXITFLAG));}
 
 
//----------------------END--------------------------
#endif