12 lines
158 B
C++
12 lines
158 B
C++
#include "placementnew.h"
|
|
|
|
void* operator new(uint16_t, void* const buf)
|
|
{
|
|
return buf;
|
|
}
|
|
|
|
void* operator new[](uint16_t, void* const buf)
|
|
{
|
|
return buf;
|
|
}
|