|
|
|
@ -1992,7 +1992,7 @@ static const char *zmq_ffi_lua_code[] = { "local ffi=require\"ffi\"\n"
|
|
|
|
" setmetatable(option_sets,{__index = function(tab,opt)\n"
|
|
|
|
" setmetatable(option_sets,{__index = function(tab,opt)\n"
|
|
|
|
" local opt_name = opt_name[opt]\n"
|
|
|
|
" local opt_name = opt_name[opt]\n"
|
|
|
|
" if not opt_name then return nil end\n"
|
|
|
|
" if not opt_name then return nil end\n"
|
|
|
|
" local method = methods[opt_name] or methods['set_' .. opt_name]\n"
|
|
|
|
" local method = methods['set_' .. opt_name] or methods[opt_name]\n"
|
|
|
|
" rawset(tab, opt, method)\n"
|
|
|
|
" rawset(tab, opt, method)\n"
|
|
|
|
" return method\n"
|
|
|
|
" return method\n"
|
|
|
|
" end})\n"
|
|
|
|
" end})\n"
|
|
|
|
|