mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-17 20:52:37 +01:00
Added bx::Location, and removed allocator macros.
This commit is contained in:
10
src/bx.cpp
10
src/bx.cpp
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user