1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2<HTML> 3<HEAD> 4<META http-equiv="Content-Type" content="text/html; charset=windows-1252"> 5<META http-equiv="Content-Style-Type" content="text/css"> 6<META name="GENERATOR" content="Microsoft FrontPage 5.0"> 7<LINK rel="stylesheet" type="text/css" href="../CSS/revolution.css"> 8<TITLE>GDSetOverflowCallback</TITLE> 9</HEAD> 10<BODY> 11<H1 align="left">GDSetOverflowCallback</H1> 12 13<H2>Syntax</H2> 14<dl><dd><pre class="construction"> 15#include <revolution/gd.h> 16 17typedef void (*GDOverflowCallback)(void); 18 19void GDSetOverflowCallback( GDOverflowCallback cb ); 20</pre></dd></dl> 21 22<H2>Arguments</H2> 23<TABLE class="arguments" border="1" > 24 <TBODY> 25 <TR> 26<TH>cb</TH> 27<TD>Pointer to an overflow callback function.</TD> 28 </TR> 29 </TBODY> 30</TABLE> 31 32<H2>Return Values</H2> 33<P>None.</P> 34 35<H2>Description</H2> 36<P>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 <a href="GDLObj.html">GDLObj</a> and the current location pointer is (or will be, as a result of the write) past the end of the associated memory buffer.</P> 37<P>If an overflow callback is not declared, the default overflow process will force an assertion failure. (Debug build only.)</P> 38 39<H2>See Also</H2> 40<P class="reference"> 41<A href="GDGetOverflowCallback.html">GDGetOverflowCallback</A> 42</P> 43 44<H2>Revision History</H2> 45<P> 462006/03/01 Initial version.<BR> 47</P> 48 49<hr><p>CONFIDENTIAL</p></body> 50</HTML>