Commit 125d8a56 authored by Johannes Schultz's avatar Johannes Schultz Committed by petterreinholdtsen
Browse files

fix inclusion of rnnoise.h into C++ code

parent bd7a29c9
......@@ -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
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