mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
Use extern "C" as appropriate to allow use with C++
This commit is contained in:
@@ -22,6 +22,10 @@
|
||||
|
||||
#include "ordinals.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* changing the following values to be higher will break the framing and hence the stream format, so DON'T! */
|
||||
#define FLAC__MIN_BLOCK_SIZE (16u)
|
||||
#define FLAC__MAX_BLOCK_SIZE (65535u)
|
||||
@@ -504,4 +508,8 @@ extern const unsigned FLAC__STREAM_METADATA_LENGTH_LEN; /* = 24 bits */
|
||||
*/
|
||||
FLAC__bool FLAC__format_is_valid_sample_rate(unsigned sample_rate);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user