GDSetOverflowCallback

Syntax

#include <revolution/gd.h>

typedef void (*GDOverflowCallback)(void);

void GDSetOverflowCallback( GDOverflowCallback cb );

Arguments

cb Pointer to an overflow callback function.

Return Values

None.

Description

This function allows you to declare a callback that is invoked when a graphics display list overflows. Overflow is only detected when you attempt to write to a GDLObj and the current location pointer is (or will be, as a result of the write) past the end of the associated memory buffer.

If an overflow callback is not declared, the default overflow process will force an assertion failure. (Debug build only.)

See Also

GDGetOverflowCallback

Revision History

2006/03/01 Initial version.


CONFIDENTIAL