Re: Drawing the red line

Date view Thread view Subject view Author view

From: Alexandre Oliva (oliva@dcc.unicamp.br)
Date: Sun Nov 15 1998 - 22:19:17 EST


On Nov 16, 1998, Alexandre Oliva <oliva@dcc.unicamp.br> wrote:

> wouldn't it be better to make _errorInfo smaller too, such as a
> single pointer to a Throwable?

The pointer solution would allow us not to tweak with the return types
of functions. We'd just have to ensure that the pointer to throwable
is initialized with NULL before calling a function, and check whether
the pointer remains NULL when the function returns. If not, an
exception was thrown.

-- 
Alexandre Oliva  http://www.dcc.unicamp.br/~oliva  aoliva@{acm.org}
oliva@{dcc.unicamp.br,gnu.org,egcs.cygnus.com,samba.anu.edu.au}
Universidade Estadual de Campinas, SP, Brasil


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:03 EDT