From 6a1c3303d6d94330a7871361638043de946c2411 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Thu, 22 Aug 2013 16:29:49 +0200 Subject: Merged robot core --- cores/robot/new.cpp | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 cores/robot/new.cpp (limited to 'cores/robot/new.cpp') diff --git a/cores/robot/new.cpp b/cores/robot/new.cpp deleted file mode 100644 index b81031e..0000000 --- a/cores/robot/new.cpp +++ /dev/null @@ -1,28 +0,0 @@ -#include - -void * operator new(size_t size) -{ - return malloc(size); -} - -void * operator new[](size_t size) -{ - return malloc(size); -} - -void operator delete(void * ptr) -{ - free(ptr); -} - -void operator delete[](void * ptr) -{ - free(ptr); -} - -int __cxa_guard_acquire(__guard *g) {return !*(char *)(g);}; -void __cxa_guard_release (__guard *g) {*(char *)g = 1;}; -void __cxa_guard_abort (__guard *) {}; - -void __cxa_pure_virtual(void) {}; - -- cgit v1.2.3-18-g5258