[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: individual globals for coroutines.
- From: David Morris-Oliveros <david@...>
- Date: Wed, 12 Oct 2005 15:12:24 +1000
So to get the local globals table, i have to do a lua_getfevn() on the
thread?
Marcus Brown wrote:
* David Morris-Oliveros <david@teambondi.com> on Tue, Oct 11, 2005:
Does LUA_GLOBALSINDEX refer to the real global, or to the new global
that i just created? Or am i getting this all wrong?
LUA_GLOBALSINDEX always refers to the real global table (_G).
--
// David Morris-Oliveros
// Camera & Lua Coder
// Team Bondi
------------------------------------------------------------------------
Contact:
Team Bondi Pty Ltd
Level 2, 608 Harris Street
Ultimo, NSW 2007
Australia
Tel: +61 (0)2 8218 1500
Fax: +61 (0)2 8218 1507
Web: http://www.teambondi.com
------------------------------------------------------------------------
This email may contain confidential information. If you are not
the intended recipient, you may not copy or deliver this message to
anyone. In such case, you should destroy this message and kindly
notify the sender by reply email. Opinions, conclusions and other
information in this message that do not relate to the official business
of our firm shall be understood as neither given nor endorsed by it.
------------------------------------------------------------------------