[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Binding C++ functions that 'throw' exceptions
- From: "RJP Computing" <rjpcomputing@...>
- Date: Fri, 17 Aug 2007 17:25:49 -0400
On 8/17/07, Carlos Augusto Teixeira Mendes <email@example.com> wrote:
Attached is a patch for tolua++ that enables try / catch hooks in tolua++
(It also corrects one bug when using casts with templates).
Also attached is an example of hook file. It will envelope every function
call made by tolua++ ina a try / catch block that converts the exception to
a lua error.
Oh my! This is exactly what I was looking for. I will patch it here locally and tell you how it goes.