nw::snd::SoundHeap::DisposeCallback Type

Syntax

#include <nw/snd/snd_SoundHeap.h>
typedef void(* nw::snd::SoundHeap::DisposeCallback)(void *mem, unsigned long size, void *userArg);

Arguments

Name Description
in mem Start address of the freed memory block.
in size Size of the freed memory block.
in userArg The user argument

Description

Called when a memory block has been destroyed.

The callback function is passed to the memory block as an argument of SoundHeap::Alloc and invoked when that memory block is freed by either SoundHeap::Clear or SoundHeap::LoadState.

See Also

Alloc
Clear
LoadState

Revision History

2010/01/15
Added Alloc, Clear and LoadState to See Also.
2010/01/14
Initial version.

CONFIDENTIAL