mirror of
https://github.com/luau-lang/luau.git
synced 2025-05-04 10:33:46 +01:00
Fix lbuiltins.cpp comment
This commit is contained in:
parent
f1649a43cd
commit
40635c0f83
1 changed files with 2 additions and 1 deletions
|
@ -20,7 +20,8 @@
|
|||
// If types of the arguments mismatch, luauF_* needs to return -1 and the execution will fall back to the usual call path
|
||||
// If luauF_* succeeds, it needs to return *all* requested arguments, filling results with nil as appropriate.
|
||||
// On input, nparams refers to the actual number of arguments (0+), whereas nresults contains LUA_MULTRET for arbitrary returns or 0+ for a
|
||||
// fixed-length return Because of this, and the fact that "extra" returned values will be ignored, implementations below typically check that nresults
|
||||
// fixed-length return
|
||||
// Because of this, and the fact that "extra" returned values will be ignored, implementations below typically check that nresults
|
||||
// is <= expected number, which covers the LUA_MULTRET case.
|
||||
|
||||
static int luauF_assert(lua_State* L, StkId res, TValue* arg0, int nresults, StkId args, int nparams)
|
||||
|
|
Loading…
Add table
Reference in a new issue