#include <revolution/gd.h> typedef void (*GDOverflowCallback)(void); void GDSetOverflowCallback( GDOverflowCallback cb );
| cb | Pointer to an overflow callback function. |
|---|
None.
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.)
2006/03/01 Initial version.
CONFIDENTIAL