Fixed and committed to the SVN. Thanks for reporting.

Best,
Scuri


Em qui, 6 de dez de 2018 às 02:26, Matthew Kennedy <[email protected]>
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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to