Re: Safe an quick way to determine context in a C-function
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
- Subject: Re: Safe an quick way to determine context in a C-function
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 5 May 2009 10:52:51 -0300
> if PushNewPoint() is being called directly from the application,
> luaL_error will call exit()
Only if you haven't used a protected call. See lua_cpcall for instance.