| Gentee Programming Language > Documentation > Libraries | Download documentation |
This function allows you to use gentee functions as callback functions. For example, gentee function can be specified as a message handler for windows.
uint cback = callback( &myfunc, 4 ) ... freecallback( cback )
uint callback( uint address, uint sizeparams )
address Identifier ( address ) of gentee function that will be callback function. sizeparams The summary size of parameters (number of uint values). One parameter uint = 1 (uint = 1). uint + uint = 2, uint + long = 3.
You can use the return value as the callback address. You have to free it with freecallback function when you don't need this callback function.
See alsoCopyright © 2004-2006 Gentee Inc. All rights reserved. |