Hi,

This (minimal) code fails when comparing an IUP object with a socket handle:

require "iuplua"
s = require "socket"
txt = iup.text{}
srv = s.bind("*", 0)
print(txt == srv)

lua5.4: tst.lua:5: bad argument #2 to 'eq' (iupHandle expected, got
tcp{server})

I believe it should print "false".

In the actual code, I have a list of listeners waiting for events. This
list is indexed by these handles.

Thanks,
Francisco
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to