mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 05:33:36 +00:00
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:
parent
aa000f7c56
commit
0fb8ed38d7
1 changed files with 0 additions and 8 deletions
|
@ -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_
|
||||||
|
|
Loading…
Add table
Reference in a new issue