http://gambasdoc.org/help/lang/extdecl?v3
Jussi On Fri, Jul 5, 2013 at 6:20 PM, Ru Vuott <[email protected]> wrote: > Hello, > > Wanting to use the Jack API, and studying examples written in C, I meet > some external "callback" functions that within their parameters have the > reference to another function (this internal to the code). > > Here an exemple of those external Jack API "callback" functions: > > jack_set_process_callback(client, process_callback, 0); > > This function tells the Jack server to call process_callback whenever > there is work be done, passing arg as the second argument. > > Well, I'ld like to use this particular functions, but I do not know how I > *have to declare* them when I use Extern: > > Private Extern jack_set_process_callback(Pclient As Pointer, > ...???.... As ....???..., Intarg As Integer) > > In fact something like "....As Function" is not possible. > > > Suggestions ? > > Regards > vuottt > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Windows: > > Build for Windows Store. > > http://p.sf.net/sfu/windows-dev2dev > _______________________________________________ > Gambas-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gambas-user > ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Gambas-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gambas-user
