Converted a lot of the char[] stuff internally into std:string

in addition I switched over to <string> rather than <string.h>
This commit is contained in:
Arthur Ice committed 2013-05-08 17:09:13 -07:00
1 parent f6100ed834
commit c6ca89907c
2 files changed
+47 -36

No files matched your search

+2 -2
View File
@@ -80,8 +80,8 @@ typedef const char Const_char; //for perl XS
#define THREAD_RETURN(x) return(x);
#endif
#define safe_delete(d) if(d) { delete d; d=0; }
#define safe_delete_array(d) if(d) { delete[] d; d=0; }
#define safe_delete(d) if(d) { delete d; d=nullptr; }
#define safe_delete_array(d) if(d) { delete[] d; d=nullptr; }
#define L32(i) ((uint32) i)
#define H32(i) ((uint32) (i >> 32))
#define L16(i) ((uint16) i)