- More Documentation
This commit is contained in:
@@ -76,10 +76,10 @@ void* operator new[](fennec::size_t size, fennec::align_t align, const fennec::n
|
||||
#endif
|
||||
|
||||
// Allocation functions
|
||||
void* operator new (fennec::size_t size) { return ::malloc(size); }
|
||||
void* operator new[](fennec::size_t size) { return ::malloc(size); }
|
||||
void* operator new (fennec::size_t size, const fennec::nothrow_t&) { return ::malloc(size); }
|
||||
void* operator new[](fennec::size_t size, const fennec::nothrow_t&) { return ::malloc(size); }
|
||||
void* operator new (fennec::size_t size) { return ::calloc(size, 1); }
|
||||
void* operator new[](fennec::size_t size) { return ::calloc(size, 1); }
|
||||
void* operator new (fennec::size_t size, const fennec::nothrow_t&) { return ::calloc(size, 1); }
|
||||
void* operator new[](fennec::size_t size, const fennec::nothrow_t&) { return ::calloc(size, 1); }
|
||||
|
||||
// Deallocation Functions
|
||||
void operator delete (void* ptr, fennec::size_t) noexcept { ::free(ptr); }
|
||||
|
||||
Reference in New Issue
Block a user