Path: blob/master/thirdparty/linuxbsd_headers/pulse/cdecl.h
9905 views
#ifndef foopulsecdeclhfoo1#define foopulsecdeclhfoo23/***4This file is part of PulseAudio.56Copyright 2004-2006 Lennart Poettering78PulseAudio is free software; you can redistribute it and/or modify9it under the terms of the GNU Lesser General Public License as published10by the Free Software Foundation; either version 2.1 of the License,11or (at your option) any later version.1213PulseAudio is distributed in the hope that it will be useful, but14WITHOUT ANY WARRANTY; without even the implied warranty of15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU16General Public License for more details.1718You should have received a copy of the GNU Lesser General Public License19along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.20***/2122/** \file23* C++ compatibility support */2425#ifdef __cplusplus26/** If using C++ this macro enables C mode, otherwise does nothing */27#define PA_C_DECL_BEGIN extern "C" {28/** If using C++ this macros switches back to C++ mode, otherwise does nothing */29#define PA_C_DECL_END }3031#else32/** If using C++ this macro enables C mode, otherwise does nothing */33#define PA_C_DECL_BEGIN34/** If using C++ this macros switches back to C++ mode, otherwise does nothing */35#define PA_C_DECL_END3637#endif3839#endif404142