Thanks for the fast reply! BTW, I did not see any other instances of lower-case v when building the API. However, I think there are instances of IUP using "C" when it should use "V" though. e.g. In animatedlabel, DROPDATA_CB is defined as "sCiii", but the "C" is really a void *, so probably should be "sViii".
int function(Ihandle* ih, char* type, void* data, int size, int x, int y) [in C] I'll report back on that later today/tomorrow though. I can produce a list of class name, callback name, callback format/spec triples pretty easily now. Matt On Thu, Dec 6, 2018 at 6:10 AM Antonio Scuri <antonio.sc...@gmail.com> wrote: > > Fixed and committed to the SVN. Thanks for reporting. > > Best, > Scuri > > > Em qui, 6 de dez de 2018 às 02:26, Matthew Kennedy <burnsid...@gmail.com> > escreveu: >> >> Hi, Was working on some automated language bindings for IUP and ran >> into a problem with matrixlist and matrix. >> >> In iup_matrixlist.c: >> >> iupClassRegisterCallback(ic, "LISTDRAW_CB", "iiiiiiv"); >> >> There is a (lower-case) "v", which is a character not mentioned in the >> list defined in iup_class.h (c, i, I, f, d, s, V and C). I think the >> callback format above should have been "iiiiiiC", since the callback >> described in the docs is: >> >> int function (Ihandle *ih, int lin, int col, int x1, int x2, int y1, >> int y2, cdCanvas* cnv); [in C] >> >> I think similarly, in iup_matrix.c: >> >> iupClassRegisterCallback(ic, "DRAW_CB", "iiiiiiv"); >> >> int function(Ihandle *ih, int lin, int col, int x1, int x2, int y1, >> int y2, cdCanvas* cnv); [in C] >> >> should be "iiiiiiC" (also the iupcbs.h describes it as IFniiiiiiC). >> >> Matt >> >> >> _______________________________________________ >> Iup-users mailing list >> Iup-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/iup-users > > _______________________________________________ > Iup-users mailing list > Iup-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/iup-users _______________________________________________ Iup-users mailing list Iup-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/iup-users