diff options
author | Johannes Schultz <johannes.schultz@alfatraining.de> | 2020-07-14 16:07:21 +0200 |
---|---|---|
committer | petterreinholdtsen <pere-github@hungry.com> | 2021-01-18 09:55:17 +0100 |
commit | 125d8a56e0049728c86c9a575dab348fc9523e96 (patch) | |
tree | bc556bb655b522df727bf8ea3d346f245f117610 | |
parent | bd7a29c9c1cfaa656993f627600280b8638820df (diff) | |
download | rnnoise-125d8a56e0049728c86c9a575dab348fc9523e96.tar.gz |
fix inclusion of rnnoise.h into C++ code
-rw-r--r-- | include/rnnoise.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/rnnoise.h b/include/rnnoise.h index 67f0b06..511a976 100644 --- a/include/rnnoise.h +++ b/include/rnnoise.h @@ -30,6 +30,9 @@ #include <stdio.h> +#ifdef __cplusplus +extern "C" { +#endif #ifndef RNNOISE_EXPORT # if defined(WIN32) @@ -62,4 +65,8 @@ RNNOISE_EXPORT RNNModel *rnnoise_model_from_file(FILE *f); RNNOISE_EXPORT void rnnoise_model_free(RNNModel *model); +#ifdef __cplusplus +} +#endif + #endif |