EnglishРусский  
 Share/Save/Bookmark
 

callback

Create a callback function. This function allows you to use gentee functions as callback functions. For example, gentee function can be specified as a message handler for windows.

func uint callback (
   uint idfunc,
   uint parsize
)

Parameters

idfunc Identifier ( address ) of gentee function that will be callback function.
parsize The summary size of parameters (number of uint values). One parameter uint = 1 (uint = 1). uint + uint = 2, uint + long = 3.

Return value

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.

Related links

Source

Edit