[Date Prev][Date Next][Thread Prev][Thread Next]
- 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 <email@example.com> on Sat, Sep 17, 2005:
> Essentially the code looks like:
> function auto(t, key)
> class = SEGetLuaClass(classpath)
> return class
And this was my mistake here. I forgot to declare class as local.
Everything now works exactly as expected. My apologies.