Metropoli BBS
VIEWER: alloc.inc MODE: TEXT (ASCII)
ifndef __ALLOC_H__
__ALLOC_H__ equ 0
.code
malloc proto,:dword ;eax=location
calloc proto,:dword,:dword ;eax=location
free proto,b:dword
coreleft proto ;query free ram ;out:eax=total free
qfree proto ;query free ram  ;out:eax=largest
realloc proto,p:dword,siz:dword

farmalloc equ <malloc>
farcalloc equ <calloc>
farfree equ <free>
farcoreleft equ <coreleft>

endif

[ RETURN TO DIRECTORY ]