Mallocfree 101 C
Mallocfree 101 C
Development · info-mac
| Filename | mallocfree-101-c.hqx |
|---|---|
| Size | 9.3 KB (9476 bytes) |
| Downloads | 1 |
Download mallocfree-101-c.hqx
Up to 5 concurrent downloads per IP. No speed limit.
About
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).
Notes
This file was archived from info-mac / funet and is provided for historical preservation. Most files are in BinHex (.hqx) or StuffIt (.sit/.sea/.cpt) format; you will need The Unarchiver or a classic Mac emulator to open them.