[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: luaopen_* pushes table to the stack?
- From: Tim Conkling <tconkling@...>
- Date: Mon, 18 Aug 2003 09:13:53 -0400
on 8/18/03 8:38 AM, Roberto Ierusalimschy at roberto@inf.puc-rio.br
reportedly stated:
>> I couldn't find anything in the docs for the luaopen_* functions that
>> says that anything should be pushed to the stack after calling one of
>> them. What is this table and why is it there?
>
> This table is the `coroutine' table. Several open functions leave in
> the stack, as a result, the table (library) it has created.
>
> -- Roberto
Is it ok to pop these tables from the stack or are they expected to be
there?
Tim
--
Tim Conkling
tconkling@brown.edu