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.
This commit is contained in:
Hermet Park 2023-05-12 17:00:48 +09:00 committed by Hermet Park
parent aa000f7c56
commit 0fb8ed38d7

View file

@ -47,10 +47,6 @@
#define TVG_DEPRECATED __attribute__ ((__deprecated__)) #define TVG_DEPRECATED __attribute__ ((__deprecated__))
#endif #endif
#ifdef __cplusplus
extern "C" {
#endif
#define _TVG_DECLARE_PRIVATE(A) \ #define _TVG_DECLARE_PRIVATE(A) \
protected: \ protected: \
struct Impl; \ struct Impl; \
@ -1633,8 +1629,4 @@ public:
} //namespace } //namespace
#ifdef __cplusplus
}
#endif
#endif //_THORVG_H_ #endif //_THORVG_H_