[OpenWrt-Devel] Support for callable metatable for ubus-lua

Jo-Philipp Wich jo at mein.io
Wed Jun 29 18:21:47 EDT 2016


Hi Anton,

personally I do not like peeking into foreign objects meta tables just
to find out whether they're callable. Maybe we should simply stop
checking the type entirely and instead rely on lua_pcall() to deal with
non-callables and other runtime errors.

What do you think?

~ Jo
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list