diff options
Diffstat (limited to 'src/common.cpp')
-rw-r--r-- | src/common.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/common.cpp b/src/common.cpp index faa7012..01c8779 100644 --- a/src/common.cpp +++ b/src/common.cpp @@ -10,8 +10,6 @@ #include <vector> #endif // __WIN32__ -void *NULLPTR = NULL; - #ifndef __WIN32__ unsigned int millis(void){ @@ -21,22 +19,6 @@ unsigned int millis(void){ #endif // __WIN32__ -Condition::Condition(const char *_id,void *val){ - id = new char[strlen(_id)+1]; - strcpy(id,_id); - value = val; -} -Condition::~Condition(){ - delete[] id; -} - -bool Condition::sameID(const char *s){ - return !strcmp(id,s); -} -void *Condition::getValue(void){ - return value; -} - void DEBUG_prints(const char* file, int line, const char *s,...){ va_list args; printf("%s:%d: ",file,line); |