sanguino/cores/arduino/new.h

Fri, 17 Nov 2017 10:13:31 +0100

author
mdd
date
Fri, 17 Nov 2017 10:13:31 +0100
changeset 3
770b218a4931
parent 2
b373b0288715
permissions
-rw-r--r--

proper configuration, homing and planner optimization

2
b373b0288715 added missing sanguino files
mbayer
parents:
diff changeset
1 /* Header to define new/delete operators as they aren't provided by avr-gcc by default
b373b0288715 added missing sanguino files
mbayer
parents:
diff changeset
2 Taken from http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=59453
b373b0288715 added missing sanguino files
mbayer
parents:
diff changeset
3 */
b373b0288715 added missing sanguino files
mbayer
parents:
diff changeset
4
b373b0288715 added missing sanguino files
mbayer
parents:
diff changeset
5 #ifndef NEW_H
b373b0288715 added missing sanguino files
mbayer
parents:
diff changeset
6 #define NEW_H
b373b0288715 added missing sanguino files
mbayer
parents:
diff changeset
7
b373b0288715 added missing sanguino files
mbayer
parents:
diff changeset
8 #include <stdlib.h>
b373b0288715 added missing sanguino files
mbayer
parents:
diff changeset
9
b373b0288715 added missing sanguino files
mbayer
parents:
diff changeset
10 void * operator new(size_t size);
b373b0288715 added missing sanguino files
mbayer
parents:
diff changeset
11 void operator delete(void * ptr);
b373b0288715 added missing sanguino files
mbayer
parents:
diff changeset
12
b373b0288715 added missing sanguino files
mbayer
parents:
diff changeset
13 __extension__ typedef int __guard __attribute__((mode (__DI__)));
b373b0288715 added missing sanguino files
mbayer
parents:
diff changeset
14
b373b0288715 added missing sanguino files
mbayer
parents:
diff changeset
15 extern "C" int __cxa_guard_acquire(__guard *);
b373b0288715 added missing sanguino files
mbayer
parents:
diff changeset
16 extern "C" void __cxa_guard_release (__guard *);
b373b0288715 added missing sanguino files
mbayer
parents:
diff changeset
17 extern "C" void __cxa_guard_abort (__guard *);
b373b0288715 added missing sanguino files
mbayer
parents:
diff changeset
18
b373b0288715 added missing sanguino files
mbayer
parents:
diff changeset
19 extern "C" void __cxa_pure_virtual(void);
b373b0288715 added missing sanguino files
mbayer
parents:
diff changeset
20
b373b0288715 added missing sanguino files
mbayer
parents:
diff changeset
21 #endif
b373b0288715 added missing sanguino files
mbayer
parents:
diff changeset
22

mercurial