C++ Exception Support: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content added Content deleted
No edit summary |
(→malloc) |
||
Line 30: | Line 30: | ||
* scope static variable |
* scope static variable |
||
*/ |
*/ |
||
namespace { char* freeMemoryBase = SOME_BASE_ADDRESS; } |
|||
void* malloc(size_t size) { |
void* malloc(size_t size) { |
||
size = (size + 7) / 8 * 8; |
size = (size + 7) / 8 * 8; |