lua-users home
lua-l archive

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


> Would it be reasonable to add a va_list version of luaL_error to the API,
> as we have for lua_pushfstring?  Without this it isn't straightforward to
> wrap the function.

Isn't this enough?

  luaL_error(L, "%s", lua_pushfstring(L, va_list))

-- Roberto