lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


> OK, they were LuaJIT cdata items, which it thinks are blank, and doesnt call
> __tostring or print cdata when it prints them in a table, only on their own:

According to your output it doesn't call it even when printing these
values on their own otherwise this

>>  w.inet6[1].addr
> "cdata"

should print the address as tostring does.

> It would be nice if it called __tostring for these.

I'm not familiar with LuaJIT.  From what I understand these aren't
userdata values.  Are cdata new kinds of values introduced by LuaJIT?