On Nov 27, 2007 5:04 PM, Peter TB Brett <[EMAIL PROTECTED]> wrote:
> Where should I put the header file(s) declaring these functions?  Declaring
> the functions in the headers installed to include_dir seems like the Wrong
> Thing, if we don't want them to be used by external code.  The normal thing
> would be to put them in the src directory with the C files.

You can still put the libgeda-private headers in libgeda/include/, but
in Makefile.am you have to list them in noinst_HEADERS instead of in
libgedainclude_HEADERS.

Or, you could keep the prototypes in the same file as the
publicly-exported prototypes, but guard them with #ifdef
LIBGEDA_INTERNAL.


_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to