Commit 2ccc6bcf authored by Mathis Rosenhauer's avatar Mathis Rosenhauer

C++ compatibility

parent 2f88a84a
......@@ -52,6 +52,10 @@
#include <stddef.h>
#ifdef __cplusplus
extern "C"{
#endif
#if BUILDING_LIBAEC && HAVE_VISIBILITY
# define LIBAEC_DLL_EXPORTED __attribute__((__visibility__("default")))
#elif BUILDING_LIBAEC && defined _MSC_VER
......@@ -165,4 +169,8 @@ LIBAEC_DLL_EXPORTED int aec_decode_end(struct aec_stream *strm);
LIBAEC_DLL_EXPORTED int aec_buffer_encode(struct aec_stream *strm);
LIBAEC_DLL_EXPORTED int aec_buffer_decode(struct aec_stream *strm);
#ifdef __cplusplus
}
#endif
#endif /* LIBAEC_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment