Added bx::Location, and removed allocator macros.

This commit is contained in:
Branimir Karadžić
2023-04-23 19:19:10 -07:00
parent be09f6970e
commit a00ecbc9d5
11 changed files with 159 additions and 72 deletions

View File

@@ -12,6 +12,16 @@
namespace bx
{
Location Location::current(const char* _filePath, uint32_t _line)
{
return Location(_filePath, _line);
}
LocationFull LocationFull::current(const char* _function, const char* _filePath, uint32_t _line)
{
return LocationFull(_function, _filePath, _line);
}
void swap(void* _a, void* _b, size_t _numBytes)
{
uint8_t* lhs = (uint8_t*)_a;