Home Download Musics Developers
API Sources Tools File Format Technicals

alloc68.h File Reference


Detailed Description

dynamic memory header.

Author:
Benjamin Gerard
Date:
2003/04/11
Id
alloc68.h,v 2.4 2003/10/07 06:58:44 benjihan Exp

Go to the source code of this file.

Typedefs

typedef void *(* sc68_alloc_t )(unsigned int)
 Alloc function (malloc).

typedef void(* sc68_free_t )(void *)
 Free function (free).


Functions

void * SC68alloc (unsigned int n)
 Allocate dynamic memory.

void * SC68calloc (unsigned int n)
 Allocate and clean dynamic memory.

void SC68free (void *data)
 Free dynamic memory.

sc68_alloc_t SC68set_alloc (sc68_alloc_t alloc)
 Set/get dynamic memory allocation handler.

sc68_free_t SC68set_free (sc68_free_t free)
 Set/get dynamic memory free handler.