From 0fb8ed38d7a0988aea56cb93674e7b73e332a27b Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Fri, 12 May 2023 17:00:48 +0900 Subject: [PATCH] api: remove extern "C" Remove extern "C specifier. ThorVG has the C binding, C++ apis doesn't need to be compatibile with a C compiler. This limits the C++ style template interface. --- inc/thorvg.h | 8 -------- 1 file changed, 8 deletions(-) diff --git a/inc/thorvg.h b/inc/thorvg.h index 9586b3cd..02bcb6a1 100644 --- a/inc/thorvg.h +++ b/inc/thorvg.h @@ -47,10 +47,6 @@ #define TVG_DEPRECATED __attribute__ ((__deprecated__)) #endif -#ifdef __cplusplus -extern "C" { -#endif - #define _TVG_DECLARE_PRIVATE(A) \ protected: \ struct Impl; \ @@ -1633,8 +1629,4 @@ public: } //namespace -#ifdef __cplusplus -} -#endif - #endif //_THORVG_H_