From: Jorg S. <Jor...@gm...> - 2007-04-02 14:57:54
|
Hi everyone, since undoubtedly Christophe's next post will ask for a quick release of a new version of libgpod I'd like to collect some input on what should be cleaned up at the same time. I have some things: - clean up namespace: most exported symbols use the itdb_ or Itdb_ identifiers, but there are at least all those spl* and SPL* symbols. Changing them to itdb_spl* and ITDB_SPL* will certainly break all applications supporting smart playlists, but probably the namespace should be cleaned up at some point. Did anyone find other namespace incursions? - add some padding to structures most likely to be expanded in the future (see http://plan99.net/~mike/writing-shared-libraries.html) so we can add elements without breaking binary compatibility (applications could have arrays of our structures). - adding versioning (again see http://plan99.net/~mike/writing-shared-libraries.html as well as http://www.gnu.org/software/binutils/manual/ld-2.9.1/html_node/ld_25.html) could be interesting. Cheers, JCS. |