gEDA-dev: Add pin wierdness in gschem

Gabriel Paubert paubert at iram.es
Fri Dec 15 13:09:11 EST 2006


On Fri, Dec 15, 2006 at 05:45:31PM +0100, Patrick Bernaud wrote:
> Carlos Nieves Ónega writes:
>  > [...]
>  > Now the backend needs to know the OBJ_* definitions which are in
>  > libgeda/include/o_type.h . By now, I included the definitions in the
>  > backend, however I think they should be in libgeda.
>  > If no one objects, I will move them into libgeda...
> 
> Please consider using symbols instead of strings for this particular
> function as well as other like g_get_object_bounds().
> 
> BTW I have learned something today: it looks like it is possible to
> add functions inside functions in C. Is it standard?
> 

No, nested functions are a GCC extension. They are standard features in
other languages (Ada, Pascal, PL/I,...) but not C or its derivatives
and extensions.

	Gabriel


More information about the geda-dev mailing list