[Tickit-dev] Return values for Tickit callback functions

Ross Mohn rpmohn at waxandwane.org
Fri Dec 3 20:26:11 GMT 2021


The callback functions in libtickit all have a declared return type of 
int, and I see the examples mostly return 1, sometimes 0. I didn't find 
documentation of the use of these return values, though I might have 
just missed it. Are theses return values used and, if so, what are their 
meanings?


$ grep "typedef.*Fn(" /usr/local/include/tickit.h
typedef int TickitPenEventFn(TickitPen *tt, TickitEventFlags flags, void 
*info, void *user);
typedef int TickitTermEventFn(TickitTerm *tt, TickitEventFlags flags, 
void *info, void *user);
typedef int TickitWindowEventFn(TickitWindow *win, TickitEventFlags 
flags, void *info, void *user);
typedef int TickitCallbackFn(Tickit *t, TickitEventFlags flags, void 
*info, void *user);

Thanks -Ross
-- 
Ross Mohn <rpmohn at waxandwane.org>
OpenPGP: 0xFBB698141F0A6737
http://waxandwane.org/



More information about the Tickit-dev mailing list