Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Stefan Strogin
flac
Commits
022572d8
Commit
022572d8
authored
Sep 26, 2006
by
Josh Coalson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add verbiage about libtool version number #defines
parent
833f832a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
doc/html/changelog.html
doc/html/changelog.html
+1
-0
include/FLAC/all.h
include/FLAC/all.h
+21
-0
No files found.
doc/html/changelog.html
View file @
022572d8
...
...
@@ -146,6 +146,7 @@
<ul>
<li>
Merged seekable stream decoder and file decoder into the stream decoder.
</li>
<li>
Merged seekable stream encoder and file encoder into the stream encoder.
</li>
<li>
Added #defines for the API version number to make porting easier; see
<tt>
include/lib*FLAC*/export.h
<tt>
.
</li>
</ul>
</li>
<li>
...
...
include/FLAC/all.h
View file @
022572d8
...
...
@@ -151,6 +151,27 @@
* This module describes differences in the library interfaces from
* version to version. It assists in the porting of code that uses
* the libraries to newer versions of FLAC.
*
* One simple facility for making porting easier that has been added
* in FLAC 1.1.3 is a set of \c #defines in \c export.h of each
* library's includes (e.g. \c include/FLAC/export.h). The
* \c #defines mirror the libraries'
* <A HREF="http://www.gnu.org/software/libtool/manual.html#Libtool-versioning">libtool version numbers</A>,
* e.g. in libFLAC there are \c FLAC_API_VERSION_CURRENT,
* \c FLAC_API_VERSION_REVISION, and \c FLAC_API_VERSION_AGE.
* These can be used to support multiple versions of an API during the
* transition phase, e.g.
*
* \code
* #if !defined(FLAC_API_VERSION_CURRENT) || FLAC_API_VERSION_CURRENT <= 7
* legacy code
* #else
* new code
* #endif
* \endcode
*
* The the source will work for multiple versions and the legacy code can
* easily be removed when the transition is complete.
*/
/** \defgroup porting_1_1_2_to_1_1_3 Porting from FLAC 1.1.2 to 1.1.3
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment