[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Can luaL_loadfile() be used from a metamethod?
- From: "Marcus Brown" <mrbrown@...>
- Date: Sat, 17 Sep 2005 22:17:20 -0700
* Marcus Brown <mrbrown@ocgnet.org> on Sat, Sep 17, 2005:
>
> Essentially the code looks like:
>
> Lua:
>
> function auto(t, key)
> ...
> class = SEGetLuaClass(classpath)
> return class
> end
>
And this was my mistake here. I forgot to declare class as local.
Everything now works exactly as expected. My apologies.