revert between 56095 -> 55830 in arch
[AROS.git] / workbench / libs / glu / emul_stdc++.cpp
blob2c25e1b282d9bec84d89f8f92732f48e5b2d667c
1 /*
2 Copyright © 2010-2015, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <proto/exec.h>
7 #include <stdlib.h>
9 void * operator new(size_t size)
11 return AllocVec(size, MEMF_PUBLIC | MEMF_CLEAR);
14 void operator delete(void * ptr)
16 FreeVec(ptr);
19 void * operator new[](size_t size)
21 return AllocVec(size, MEMF_PUBLIC | MEMF_CLEAR);
24 void operator delete[](void * ptr)
26 FreeVec(ptr);
29 extern "C" void __cxa_pure_virtual()