my solution would be:
#define malloc(size) mymalloc(size, __FILE__, __FUNCTION__, __LINE__)
... (realloc, calloc, free)
void *mymalloc(size_t size, char *file, char *function, int line)
{
void *data = malloc
#memory #against #head> #feeding #this
https://stackoverflow.com/questions/1...
https://stackoverflow.com/questions/1...
コメント