[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: integration with C. Segfault whenever I do anything outside of my lua_state initializer function.
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 16 Sep 2009 13:18:28 -0300
> Actually if you check that forum post you'll see I changed all the names
> of the parameters and local variables to luaVM_local, and it didn't fix
> anything. That version of the code (different pastebin) is what I sent
> out to the mailing-list.
Check my second reply there.
> Since I'm passing everything by reference the changes ought to be
> applied globally, right?
You're not passing a pointer to the pointer to the Lua state, just a
pointer to the Lua state. Check your C...