Moving macro MAX from CBot.h to CBotTwoOpExpr.cpp.
parent
3b0561056a
commit
51f0675e41
|
@ -54,8 +54,6 @@ class CBotDefParam; // paramerer list of a function
|
|||
|
||||
extern bool SaveVar(FILE* pf, CBotVar* pVar);
|
||||
|
||||
#define MAX(a,b) ((a>b) ? a : b)
|
||||
|
||||
extern CBotInstr* CompileParams(CBotToken* &p, CBotCStack* pStack, CBotVar** ppVars);
|
||||
|
||||
extern bool TypeCompatible( CBotTypResult& type1, CBotTypResult& type2, int op = 0 );
|
||||
|
|
|
@ -33,6 +33,8 @@
|
|||
// Global include
|
||||
#include <cassert>
|
||||
|
||||
#define MAX(a,b) ((a>b) ? a : b)
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
CBotTwoOpExpr::CBotTwoOpExpr()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue