That was a bug. Fixed and committed to the SVN. Thanks for reporting.

Best,
Scuri


Em ter, 19 de jun de 2018 às 12:45, Johann Philippe via Iup-users <
iup-users@lists.sourceforge.net> escreveu:

> Hello,
>
> I'm currently using iup.matrixex (on Windows, with lua) - and the
> action_cb doesn't seem to work
> The following code :
>
> *m=iup.matrixex{}*
> *m:action_cb(key,lin,col,mode,update)*
>
> returns :
> *F:\LuaJIT\src\luajit.exe: [string "iuplua.lua"]:139: bad argument #3 to
> 'SetCallback' (Invalid function when set callback.)*
>
>
>
>
>
> *stack traceback:        [C]: in function 'SetCallback'        [string
> "iuplua.lua"]:139: in function '__newindex'
> F:\LuaJIT\src\lua\miup_object.lua:371: in function 'matconnect'
> test_obj.lua:81: in main chunk*
> *        [C]: at 0x00402000*
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to