aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/new.h
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2012-12-17 16:53:45 +0100
committerCristian Maglie <c.maglie@bug.st>2012-12-17 16:53:45 +0100
commit5f4e55a3d274838388696c3f8130b0f2dc40daf7 (patch)
tree066cb0ff68142acbfe9cc4a45ec0ef596ff93919 /cores/arduino/new.h
parentbb9cc4f70c17eed497ab30d7bfe6eebb35055205 (diff)
parent09b755fb9c3f5c42fa9b38ffeef0dbfa2cfd8315 (diff)
Merged 1.0.4 pre-release into 1.5
Diffstat (limited to 'cores/arduino/new.h')
-rw-r--r--cores/arduino/new.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cores/arduino/new.h b/cores/arduino/new.h
index cd940ce..991c86c 100644
--- a/cores/arduino/new.h
+++ b/cores/arduino/new.h
@@ -8,7 +8,9 @@
#include <stdlib.h>
void * operator new(size_t size);
-void operator delete(void * ptr);
+void * operator new[](size_t size);
+void operator delete(void * ptr);
+void operator delete[](void * ptr);
__extension__ typedef int __guard __attribute__((mode (__DI__)));