Created
December 28, 2014 07:27
-
-
Save idank/220ec2ee03d887028621 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int _initialize_mtmm() { | |
// initialization code goes here... | |
return 1; | |
} | |
int _mtmm_initialized = _initialize_mtmm(); | |
void* malloc(size_t) { | |
// just to be safe... | |
if (!_mtmm_initialized) { | |
abort(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment