clean up compiler warnings

This commit is contained in:
Irlan
2017-05-31 12:24:57 -03:00
parent c411bf341a
commit 8640a80914
15 changed files with 27 additions and 37 deletions

View File

@@ -124,7 +124,11 @@ typedef float float32;
# endif
#endif
#define B3_PROFILE(name) b3ProfileScope scope(name)
#define B3_JOIN(a, b) a##b
#define B3_CONCATENATE(a, b) B3_JOIN(a, b)
#define B3_UNIQUE_NAME(name) B3_CONCATENATE(name, __LINE__)
#define B3_PROFILE(name) b3ProfileScope B3_UNIQUE_NAME(scope)(name)
// You should implement this function to use your own memory allocator.
void* b3Alloc(u32 size);