[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Redefining api_check to throw harmful?
- From: Eric Scouten <scouten@...>
- Date: Fri, 17 Feb 2006 09:50:15 -0800
We are, for obvious reasons, not enamored of functions that call abort
(), so we are considering redefining the api_check macro in
Lightroom's build of Lua to throw instead of assert (which ultimately
leads to abort).
In our initial testing, we've not found any bad side effects caused
by this redefinition. Is anyone here aware of hidden consequences
that we might not have discovered?