From 5c3a1bc3b8d6e7fd12f4af4d461851b13b18547d Mon Sep 17 00:00:00 2001 From: vividsnow Date: Wed, 1 May 2024 02:47:24 +0300 Subject: [PATCH] update onnxruntime_c_api.h (#20360) ### Description removing excess trailing semicolon from specific macro ### Motivation and Context I am preparing automatic generation of onnxruntime bindings for perl, and the parser (ucpp) has broken due to the "double semicolon" error in the subsequent lines where the macro is applied. --- include/onnxruntime/core/session/onnxruntime_c_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/onnxruntime/core/session/onnxruntime_c_api.h b/include/onnxruntime/core/session/onnxruntime_c_api.h index a11bd410c51a2..de3013484b1ab 100644 --- a/include/onnxruntime/core/session/onnxruntime_c_api.h +++ b/include/onnxruntime/core/session/onnxruntime_c_api.h @@ -267,7 +267,7 @@ typedef enum OrtOpAttrType { //! @} #define ORT_RUNTIME_CLASS(X) \ struct Ort##X; \ - typedef struct Ort##X Ort##X; + typedef struct Ort##X Ort##X /** \addtogroup Global * ONNX Runtime C API