lua-users home
lua-l archive

Re: want luaL_verror()

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


> I think what was being said is that the above construction wouldn't
> work as a /function/.
Doesn't this work?
LUA_API int luaL_verror (lua_State *L, const char *fmt, va_list argp) {
 return luaL_error(L, "%s", lua_pushvfstring(L, fmt, va_list));
}
-- Roberto

AltStyle によって変換されたページ (->オリジナル) /