>I can only lua_settag a tab or userdata. That's right. That's why you need to wrap other values inside proxy tables, as mentioned in 3.3 in http://lua-users.org/wiki/RetiredLuaFaq . --lhf