Page 1 of 1

mallocfree 1.0.1; C substitutes for the standard libraries

Posted: July 21st, 1995, 9:00 am
by Info-Mac
Download: http://archive.info-mac.org/dev/lib/mal ... -101-c.hqx

mallocfree is meant to be used by programmers instead of the usual ANSI
memory manager. It includes malloc, free, realloc, calloc, and as
additional goodies getallocsize (works like _GetPtrSize/_GetHandleSize on a
mallocated block; the ANSI libraries miss this routine) and ffcalloc (you
pass a single parameter instead of the two parameters you are forced to
give to the standard calloc; this lets you avoid a multiplication at
runtime).

C source code is included.

mallocfree can be used with any Mac under any System.

New since 1.0:
Fixed the incredible bug that prevented the memory manager to work
with the application's own heap (as opposed to temporary memory).