gEDA-dev: gschem header files
Ales Hvezda
ahvezda at seul.org
Mon Jun 19 22:35:30 EDT 2006
Hi Werner,
[snip]
>I'm wondering why there's no header file for gschem in the include/ dir.
Because I never expected anybody to use anything contained within
outside of gschem. In retrospect it would have simplified things
a little.
>
>Something like gschem.h (refering to gschem related things) and struct.h
>for gschem specific structure, enums, ....
Sounds reasonable.
>
>gschem.h could contain:
> libgeda.h
> struct.h
> [].h
> prototypes.h
At some point I would like to toss all the prototypes.h files and
replace them with per module header files with private function
declerations inside the C files only.
>
>Or where would you put a structure that is needed by two .c files?
A gschem struct.h is fine idea for such structures. It would
be a good idea to remove gschem specific things from libgeda's struct.h
-Ales
More information about the geda-dev
mailing list