cc_support.cpp
Go to the documentation of this file.
00001 #include <stdlib.h>
00002 
00003 #define __weak __attribute__((weak))
00004 
00005 extern "C"
00006 __weak
00007 void __cxa_pure_virtual(void)
00008 {
00009         for (;;)
00010                 ;
00011 }
00012 
00013 __weak
00014 void *operator new(size_t size)
00015 {
00016         return malloc(size);
00017 }
00018 
00019 __weak
00020 void *operator new[] (size_t size)
00021 {
00022         return ::operator new(size);
00023 }
00024 
00025 __weak
00026 void operator delete(void *ptr)
00027 {
00028         free(ptr);
00029 }
00030 
00031 __weak
00032 void operator delete[](void *ptr)
00033 {
00034         ::operator delete(ptr);
00035 }
00036 


rosserial_arduino
Author(s): Michael Ferguson, Adam Stambler
autogenerated on Fri Dec 6 2013 20:35:55