mirror of
https://gitlab.freedesktop.org/freetype/freetype.git
synced 2026-01-29 20:40:25 +01:00
Small improvement.
This commit is contained in:
parent
7909673992
commit
155a575ad9
1 changed files with 4 additions and 7 deletions
|
|
@ -175,13 +175,6 @@
|
|||
#endif /* FT_MAKE_OPTION_SINGLE_OBJECT */
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
#define LOCAL_VAR extern "C"
|
||||
#else
|
||||
#define LOCAL_VAR extern
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef BASE_DEF
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
@ -245,12 +238,16 @@
|
|||
/* */
|
||||
#ifdef __cplusplus
|
||||
|
||||
#define LOCAL_VAR extern "C"
|
||||
|
||||
#define LOCAL_FUNC_X extern "C"
|
||||
|
||||
#define FT_CPLUSPLUS( x ) extern "C" x
|
||||
|
||||
#else
|
||||
|
||||
#define LOCAL_VAR extern
|
||||
|
||||
#define LOCAL_FUNC_X static
|
||||
|
||||
#define FT_CPLUSPLUS( x ) x
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue