Sun, 15 Jul 2012 19:01:47 +0300
Rid the qbyte type as I just use long everywhere anyway
common.h | file | annotate | diff | comparison | revisions | |
objwriter.h | file | annotate | diff | comparison | revisions |
--- a/common.h Sun Jul 15 18:56:26 2012 +0300 +++ b/common.h Sun Jul 15 19:01:47 2012 +0300 @@ -61,8 +61,6 @@ MODE_ONEXIT, // inside onexit }; -typedef long qbyte; - #define CHECK_FILE(pointer,path,action) \ if (!pointer) { \ error ("couldn't open %s for %s!\n", (char*)path, action); \
--- a/objwriter.h Sun Jul 15 18:56:26 2012 +0300 +++ b/objwriter.h Sun Jul 15 19:01:47 2012 +0300 @@ -147,7 +147,7 @@ numWrittenBytes += sizeof (T); } // Cannot use default arguments in function templates.. - void Write (qbyte stuff) {Write<qbyte> (stuff);} + void Write (long stuff) {Write<long> (stuff);} }; #endif // __OBJWRITER_H__ \ No newline at end of file