fix link error about plugin api in cpp file.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
#include "tensor_typedef.h"
#include <gst/gst.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* @brief Decoder definitions for different semantics of tensors
* This allows developers to create their own decoders.
extern const GstTensorDecoderDef *
nnstreamer_decoder_find (const char *name);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __NNS_PLUGIN_API_DECODER_H__ */
#include "tensor_typedef.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
/**
* @brief GstTensorFilter's properties for NN framework (internal data structure)
*
extern const GstTensorFilterFramework *
nnstreamer_filter_find (const char *name);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* __NNS_PLUGIN_API_FILTER_H__ */