annotate src/flac-1.2.1/include/FLAC/export.h @ 169:223a55898ab9 tip default

Add null config files
author Chris Cannam <cannam@all-day-breakfast.com>
date Mon, 02 Mar 2020 14:03:47 +0000
parents 98c1576536ae
children
rev   line source
cannam@86 1 /* libFLAC - Free Lossless Audio Codec library
cannam@86 2 * Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh Coalson
cannam@86 3 *
cannam@86 4 * Redistribution and use in source and binary forms, with or without
cannam@86 5 * modification, are permitted provided that the following conditions
cannam@86 6 * are met:
cannam@86 7 *
cannam@86 8 * - Redistributions of source code must retain the above copyright
cannam@86 9 * notice, this list of conditions and the following disclaimer.
cannam@86 10 *
cannam@86 11 * - Redistributions in binary form must reproduce the above copyright
cannam@86 12 * notice, this list of conditions and the following disclaimer in the
cannam@86 13 * documentation and/or other materials provided with the distribution.
cannam@86 14 *
cannam@86 15 * - Neither the name of the Xiph.org Foundation nor the names of its
cannam@86 16 * contributors may be used to endorse or promote products derived from
cannam@86 17 * this software without specific prior written permission.
cannam@86 18 *
cannam@86 19 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
cannam@86 20 * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
cannam@86 21 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
cannam@86 22 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR
cannam@86 23 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
cannam@86 24 * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
cannam@86 25 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
cannam@86 26 * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
cannam@86 27 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
cannam@86 28 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
cannam@86 29 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
cannam@86 30 */
cannam@86 31
cannam@86 32 #ifndef FLAC__EXPORT_H
cannam@86 33 #define FLAC__EXPORT_H
cannam@86 34
cannam@86 35 /** \file include/FLAC/export.h
cannam@86 36 *
cannam@86 37 * \brief
cannam@86 38 * This module contains #defines and symbols for exporting function
cannam@86 39 * calls, and providing version information and compiled-in features.
cannam@86 40 *
cannam@86 41 * See the \link flac_export export \endlink module.
cannam@86 42 */
cannam@86 43
cannam@86 44 /** \defgroup flac_export FLAC/export.h: export symbols
cannam@86 45 * \ingroup flac
cannam@86 46 *
cannam@86 47 * \brief
cannam@86 48 * This module contains #defines and symbols for exporting function
cannam@86 49 * calls, and providing version information and compiled-in features.
cannam@86 50 *
cannam@86 51 * If you are compiling with MSVC and will link to the static library
cannam@86 52 * (libFLAC.lib) you should define FLAC__NO_DLL in your project to
cannam@86 53 * make sure the symbols are exported properly.
cannam@86 54 *
cannam@86 55 * \{
cannam@86 56 */
cannam@86 57
cannam@86 58 #if defined(FLAC__NO_DLL) || !defined(_MSC_VER)
cannam@86 59 #define FLAC_API
cannam@86 60
cannam@86 61 #else
cannam@86 62
cannam@86 63 #ifdef FLAC_API_EXPORTS
cannam@86 64 #define FLAC_API _declspec(dllexport)
cannam@86 65 #else
cannam@86 66 #define FLAC_API _declspec(dllimport)
cannam@86 67
cannam@86 68 #endif
cannam@86 69 #endif
cannam@86 70
cannam@86 71 /** These #defines will mirror the libtool-based library version number, see
cannam@86 72 * http://www.gnu.org/software/libtool/manual.html#Libtool-versioning
cannam@86 73 */
cannam@86 74 #define FLAC_API_VERSION_CURRENT 10
cannam@86 75 #define FLAC_API_VERSION_REVISION 0 /**< see above */
cannam@86 76 #define FLAC_API_VERSION_AGE 2 /**< see above */
cannam@86 77
cannam@86 78 #ifdef __cplusplus
cannam@86 79 extern "C" {
cannam@86 80 #endif
cannam@86 81
cannam@86 82 /** \c 1 if the library has been compiled with support for Ogg FLAC, else \c 0. */
cannam@86 83 extern FLAC_API int FLAC_API_SUPPORTS_OGG_FLAC;
cannam@86 84
cannam@86 85 #ifdef __cplusplus
cannam@86 86 }
cannam@86 87 #endif
cannam@86 88
cannam@86 89 /* \} */
cannam@86 90
cannam@86 91 #endif