From: Glenn Randers-P. <gl...@gm...> - 2011-08-31 17:31:54
|
On Wed, Aug 31, 2011 at 1:18 AM, Andreas Kleinert <in...@ar...>wrote: > > > -------- Original-Nachricht -------- > Betreff: Re: [png-mng-implement] libpng configure patch for versioned > symbols > Datum: Wed, 31 Aug 2011 07:17:37 +0200 > Von: Andreas Kleinert <And...@gm...> > CC: PNG/MNG implementation discussion list > <png...@li...> > > > To me - but this may be due to my personal background - it's a bit odd, > > when single functions are versioned but a library as a whole (and/or the > > structures its functions take/give as parameters) in turn are > > not. [...] > i.e. > > > > if(libversion > 2) // for some function/struct which changed > > That is: talking about a version which could be queried by the library's > API, e.g. something like > > libversion = png_libver(); > Such as png_access_version_number() as illustrated in pngtest.c? Glenn > > |