> 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)); > } I don't know if it matters much. But va_end will not be called. Jörg