aboutsummaryrefslogtreecommitdiffstats
path: root/__cpp.h
diff options
context:
space:
mode:
authorZoRo <dos21h@gmail.com>2018-08-01 22:29:59 +0100
committerZoRo <dos21h@gmail.com>2018-08-01 22:29:59 +0100
commit5a112810cfc0849c170c89f32b9f2192c8b37a96 (patch)
treeb0842fbf70513e33c8b0c22fa5ad0e63e14a57d8 /__cpp.h
parentbb09c471377ca520e17f72bff50df25e5d34a19d (diff)
downloadnotifylist-5a112810cfc0849c170c89f32b9f2192c8b37a96.tar.gz
notifylist-5a112810cfc0849c170c89f32b9f2192c8b37a96.zip
Added argument definitions
Diffstat (limited to '__cpp.h')
-rw-r--r--__cpp.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/__cpp.h b/__cpp.h
index ee23b68..38089df 100644
--- a/__cpp.h
+++ b/__cpp.h
@@ -13,8 +13,16 @@ extern "C" void emulate_cc_delete(void* p) {
if (p != 0)
free(p);
}
+
+extern "C" void emulate_cc_delete2(void* p, unsigned long s) {
+ if (p != 0)
+ free(p);
+}
+
void* operator new (unsigned long) __attribute__((alias("emulate_cc_new")));
void* operator new[](unsigned long) __attribute__((alias("emulate_cc_new")));
void operator delete (void* p) __attribute__((alias("emulate_cc_delete")));
void operator delete[](void* p) __attribute__((alias("emulate_cc_delete")));
-void* __cxa_pure_virtual = 0; \ No newline at end of file
+void operator delete (void* p, unsigned long s) __attribute__((alias("emulate_cc_delete2")));
+void* __cxa_pure_virtual = 0;
+void* __gxx_personality_v0 = 0; \ No newline at end of file