/usr/share/yacas/include/debugmem.h is in yacas 1.3.3-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #ifndef __debugmem_h__
#define __debugmem_h__
#ifdef YACAS_DEBUG
#ifdef NO_GLOBALS
#error "Memory heap checking only possible with global variables!"
#endif
void* YacasMallocPrivate(unsigned long size, const char* aFile, int aLine);
void* YacasReAllocPrivate(void* orig, unsigned long size, const char* aFile, int aLine);
void YacasFreePrivate(void* aOrig);
void CheckPtr(void * anAllocatedPtr, const char* file, int line);
void CheckAllPtrs(int final = 0);
#endif
#endif
|