lua-l archive
[
Date Prev
][
Date Next
][
Thread Prev
][
Thread Next
] [
Date Index
] [
Thread Index
]
Subject
:
Re: want luaL_verror()
From
: John Belmonte <john@
...
>
Date
: Sun, 25 Nov 2012 21:47:23 -0800
Isn't this enough?
luaL_error(L, "%s", lua_pushfstring(L, va_list))
Not exactly since luaL_error prepends the where string as well (at least in 5.1). So a va_list version might take a level as well.
I realize I can just copy the code. Ideally any API with vararg functions offers a va_list version, but up to you of course.
Follow-Ups
:
Re: want luaL_verror()
,
Roberto Ierusalimschy
References
:
want luaL_verror()
,
John Belmonte
Re: want luaL_verror()
,
Roberto Ierusalimschy
Prev by Date:
Re: lua5.2.1 's llex.c:214 can not compile by android ndk.
Next by Date:
Re: want luaL_verror()
Previous by thread:
Re: want luaL_verror()
Next by thread:
Re: want luaL_verror()
Index(es):
Date
Thread