[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lua 4.0
- From: erik@... (Erik Hougaard)
- Date: Sat, 26 Aug 2000 15:28:05 +0200
----- Original Message -----
>Why is it necessary for the C API to return the number of results it pushed
>onto the stack? Wouldn't it would be simpler and less error-prone for Lua
>to infer that information directly from the stack?
Cause that would prevent using the stack during your api function.. And
since the is no more begin/end block it would be impossible to push stuff on
the stack to perform table functions ect....