diff --git a/subprojects/gst-plugins-bad/ext/tflite/VX/vsi_npu_custom_op.h b/subprojects/gst-plugins-bad/ext/tflite/VX/vsi_npu_custom_op.h index 68194f10c6..05f1175f84 100644 --- a/subprojects/gst-plugins-bad/ext/tflite/VX/vsi_npu_custom_op.h +++ b/subprojects/gst-plugins-bad/ext/tflite/VX/vsi_npu_custom_op.h @@ -30,19 +30,20 @@ typedef struct { char* binary; } TfLiteVsiNpuParams; - #ifdef __cplusplus -} // extern "C" -#endif // __cplusplus - namespace tflite { -namespace ops { -namespace custom { + namespace ops { + namespace custom { +#endif // __cplusplus TfLiteRegistration* Register_VSI_NPU_PRECOMPILED(void); -} // namespace custom -} // namespace ops +#ifdef __cplusplus + } // namespace custom + } // namespace ops } // namespace tflite +} // extern "C" +#endif // __cplusplus + #endif //TENSORFLOW_LITE_DELEGATES_VSI_NPU_CUSTOM_OP_H_