[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: why write lua_unlock before lua_lock?
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Wed, 27 Jun 2007 18:01:22 -0300
> So I understand why this problem appeared in my code. I'm using ldump
> directly from user code to dump the code, there is then no lua_lock before
> entering the dump function. This function is not declared in lua.h, I
> needed the ldump.h to be able to call it.
>
> Having a "public" function that does the lock should fix the problem?
Try lua_dump.