gEDA-dev: [RFC] Headers for private libgeda functions
Peter TB Brett
peter at peter-b.co.uk
Tue Nov 27 10:04:09 EST 2007
Hi folks,
I was thinking of adding a couple of utility functions to libgeda to reduce
code duplication, but they wouldn't be suitable for being part of the actual
API for user programs.
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.
On the same vein, there are a number of functions which libgeda currently
exports that should be private, and I'd like to move them out of the public
headers as the first stage of rationalising the API a little...
Regards,
Peter
--
Peter Brett
Electronic Systems Engineer
Integral Informatics Ltd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://www.seul.org/pipermail/geda-dev/attachments/20071127/f1e05b24/attachment.pgp
More information about the geda-dev
mailing list