lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Fri, May 09, 2008 at 10:06:39AM -0700, Wesley Smith wrote:
> Hi list,
> I was porting some code to Windows and was surprised that a method:
>    static in __gc(lua_State *L)
> was using the "__gc" keyword.

If you write your code in compliance with standards, that shouldn't matter.
Any identifier starting with double underscores is in the purview of the
implementation, and your code must not define it in any way.
-- 
Chip Salzenberg <chip@pobox.com>