Miles Sound System SDK 7.2a

AIL_mem_use_free

The function AIL_mem_use_free replaces the default memory freeing routine.

void * AIL_mem_use_free(
  AILFREECB freecb
);

In Parameters

freecb
specifies a memory free routine function of the AILFREECB type.

Returns

The previous free routine's address.

Discussion

Use this function with AIL_mem_use_malloc.

Use this routine and AIL_mem_use_malloc to hook into your own memory management system.

AIL_mem_use_malloc and AIL_mem_use_free should be called prior to AIL_startup.


Group: Memory and File Services
Related Sections: Memory management under DOS, Memory management under MacOS, Memory management under Nintendo Wii, Memory management under PlayStation 2, Memory management under PlayStation 3, Memory management under Win32, Memory management under Win64, Memory management under Xbox, Memory management under Xbox 360
Related Functions: AILFREECB, AIL_mem_free_lock, AIL_mem_use_free, AIL_mem_use_malloc, AIL_startup
Related Basic Types: void, void *

For technical support, e-mail Miles3@radgametools.com
© Copyright 1991-2007 RAD Game Tools, Inc. All Rights Reserved.