[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA-dev: gschem header files



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
_______________________________________________
geda-dev mailing list
geda-dev@moria.seul.org
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev