Bink SDK 1.5v

RADSetMemory

The function RADSetMemory specifies a set of replacement memory management functions.

void RADSetMemory(
  RADMEMALLOC mem_alloc,
  RADMEMFREE mem_free
);

In Parameters

mem_alloc
Specifies the function to call to allocate memory.
mem_free
Specifies the function to call to free memory that was allocated by mem_alloc.

Discussion

This function allows you to replace the functions that Bink calls to allocate and free memory. On the Nintendo GameCube, you must return 32-byte aligned memory pointers!


Group: Bink API
Related Sections: Memory management on the Nintendo GameCube, Memory management on the Xbox, Memory management under MacOS, Memory management under Win32
Related Functions: RADMEMALLOC, RADMEMFREE
Related Basic Types: void

For technical support, e-mail Bink1@radgametools.com
© Copyright 1994-2003 RAD Game Tools, Inc. All Rights Reserved.