diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-10 09:42:50 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-10 09:42:50 +0400 |
commit | 936f0388e843ba3a261b364d633eb3bdd5b3ca99 (patch) | |
tree | 19e08b071efb434e869243252adad51bbb717865 /intern/guardedalloc | |
parent | fc2b52b837daa5d92848d3afc71bddc58d8e92e5 (diff) |
code cleanup: some warnings and formatting for PyMethodDef's in the BGE.
Diffstat (limited to 'intern/guardedalloc')
-rw-r--r-- | intern/guardedalloc/cpp/mallocn.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/guardedalloc/cpp/mallocn.cpp b/intern/guardedalloc/cpp/mallocn.cpp index da77f0e1c83..8b05d25018f 100644 --- a/intern/guardedalloc/cpp/mallocn.cpp +++ b/intern/guardedalloc/cpp/mallocn.cpp @@ -28,6 +28,9 @@ #include <new> #include "../MEM_guardedalloc.h" +void *operator new(size_t size, const char *str) throw(std::bad_alloc); +void *operator new[](size_t size, const char *str) throw(std::bad_alloc); + /* not default but can be used when needing to set a string */ void *operator new(size_t size, const char *str) throw(std::bad_alloc) { |