Re: libgit2 - a true git library
From: Junio C Hamano <hidden>
Date: 2016-06-15 22:45:33
"Shawn O. Pearce" [off-list ref] writes:
Andreas Ericsson [off-list ref] wrote:quoted
quoted
* proper public "stuff" naming (I e.g. realy like types names -- not struct or enum tags, that I don't really care -- ending with _t as it helps navigating source.*_t types are reserved by POSIX for future implementations, so that's a no-go (although I doubt POSIX will ever make types named git_*_t).Yikes. Anyone know where a concise list of the reserved names are?
Essentially, anything that ends with "_t" ;-) http://www.opengroup.org/onlinepubs/000095399/functions/xsh_chap02_02.html#tag_02_02_02 Look for "Any Header" in the table.
quoted
Apart from that, please consider reading Ulrich Drepper's musings on library design at http://people.redhat.com/drepper/goodpractice.pdfI think I've read that before, but I'll skim over it again. Thanks for the link. -- Shawn.