lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

> 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.