mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2026-02-13 04:27:46 -05:00
implement proper refcounting in polyplib
split polyplib to multiple modules add some prelimenary documentation add doxygen support git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@123 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
parent
1c2ec47cf1
commit
22cb23eedb
45 changed files with 2853 additions and 12800 deletions
21
polyp/cdecl.h
Normal file
21
polyp/cdecl.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
#ifndef foocdeclhfoo
|
||||
#define foocdeclhfoo
|
||||
|
||||
/** \file
|
||||
* C++ compatibility support */
|
||||
|
||||
#ifdef __cplusplus
|
||||
/** If using C++ this macro enables C mode, otherwise does nothing */
|
||||
#define PA_C_DECL_BEGIN extern "C" {
|
||||
/** If using C++ this macros switches back to C++ mode, otherwise does nothing */
|
||||
#define PA_C_DECL_END }
|
||||
|
||||
#else
|
||||
/** If using C++ this macro enables C mode, otherwise does nothing */
|
||||
#define PA_C_DECL_BEGIN
|
||||
/** If using C++ this macros switches back to C++ mode, otherwise does nothing */
|
||||
#define PA_C_DECL_END
|
||||
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue