#include "guf_common.h" #include "guf_alloc.h" typedef struct guf_alloc_info { ptrdiff_t allocated_bytes, freed_bytes; size_t alloc_count, realloc_count, free_count; } guf_alloc_info; // void guf_alloc_track(int type_id, int thread_id, ptrdiff_t size) // { // static guf_alloc_info guf_alloc_info[GUF_ALLOC_THREAD_ID_MAX][GUF_ALLOC_TYPE_ID_MAX]; // }