[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Problems with tolua...
- From: "Nutritious Games - Tue Hald Madsen" <tue@...>
- Date: Thu, 30 May 2002 10:15:02 +0200
Well, I am very sorry.
I admit I´m a bit stupid sometimes.
I thought, that tolua took care of that later on. But I guess not.
Yes, now I don´t get any debug errors.
Thanks for your time.
Tue
> Hi,
>
> On Wed, May 29, 2002 at 05:52:21PM +0200, Nutritious Games - Tue Hald Madsen wrote:
> > At this point, ref is 0 and the L->refArray[ref] is something like {...} (i guess it means empty).
> > However, L->refSize is 119539488.
>
> this looks like an invalid or uninitialized Lua state. I can't imagine
> that refSize is that large that early at program startup.
>
> Maybe a dumb question: Do you actually call lua_open() first, e.g.,
> like this?
>
> lua_State *L = lua_open(0);
> tolua_TestClass_open(L);
>
> Can you reproduce the problem with some small code fragments for *.pkg
> and stripped-down startup code? If yes, perhaps you can post them?
>
> Regards
> - Christian