Files
CydandClaude Fable 5 db7745fcd0 sda4: commit the Glaze developer hard-drive dump
Un-ignored: the dev drive is the ground truth the restoration and
emulator work constantly reference (DPL3/LIBDPL + VRENDER i860 renderer
source, BT/RP live+dev game trees, VGL_LABS pod boot, scene/audio
content). Kept in-repo for the pod-owner community.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 19:41:15 -05:00

27 lines
416 B
C++

#include <stdio.h>
#include <stdlib.h>
static int my_malloced=0;
void *my_malloc ( int n )
{
char *c=malloc(n);
if (c) {
my_malloced+=n;
printf ( "malloced %d bytes, total %d\n", n, my_malloced );
}
else {
printf ( "malloced FAILED on %d bytes, total %d\n", n, my_malloced );
}
return c;
}
void my_free ( char *c )
{
free(c);
printf ("free 0x%x\n", c );
}