On Mon, 17 Jan 2011 23:31:28 -0200 Gustavo Sverzut Barbieri
<[email protected]> said:

> On Mon, Jan 17, 2011 at 11:27 PM, Mike McCormack
> <[email protected]> wrote:
> > On 01/18/2011 10:20 AM, Vinícius dos Santos Oliveira wrote:
> >> Is there any implementation in Enlightenment to use exception handling in
> >> C?
> >
> > Standard C doesn't support exception handling.  How do you propose it would
> > work?
> 
> I guess he is talking about setjmp/longjmp... IMO just stay out of it,
> if you want use it, but take care to not screw it. No wrappers in efl.

setjmp/longjmp are rather evil and nasty. i'd highly advise avoiding their use.
do the usual - unwind with error returns, or for code you 100% control (eg
within a single function) use goto.

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [email protected]


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to