Skip to content

Commit a5d4e44

Browse files
committed
Rename EXTERN_C to AVS_EXTERN_C
1 parent bc81fb7 commit a5d4e44

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

avs_core/include/avs/capi.h

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@
4343
#endif
4444

4545
#ifdef __cplusplus
46-
# define EXTERN_C extern "C"
46+
# define AVS_EXTERN_C extern "C"
4747
#else
48-
# define EXTERN_C
48+
# define AVS_EXTERN_C
4949
#endif
5050

5151
#ifdef AVS_WINDOWS
@@ -99,20 +99,20 @@
9999
# else
100100
# define AVSC_EXPORT
101101
# endif
102-
# define AVSC_API(ret, name) EXTERN_C AVSC_EXPORT ret AVSC_CC name
102+
# define AVSC_API(ret, name) AVS_EXTERN_C AVSC_EXPORT ret AVSC_CC name
103103
#else
104-
# define AVSC_EXPORT EXTERN_C
105-
# define AVSC_API(ret, name) EXTERN_C ret AVSC_CC name
104+
# define AVSC_EXPORT AVS_EXTERN_C
105+
# define AVSC_API(ret, name) AVS_EXTERN_C ret AVSC_CC name
106106
#endif
107107
#else
108-
# define AVSC_EXPORT EXTERN_C __declspec(dllexport)
108+
# define AVSC_EXPORT AVS_EXTERN_C __declspec(dllexport)
109109
# ifndef AVS_STATIC_LIB
110110
# define AVSC_IMPORT __declspec(dllimport)
111111
# else
112112
# define AVSC_IMPORT
113113
# endif
114114
# ifndef AVSC_NO_DECLSPEC
115-
# define AVSC_API(ret, name) EXTERN_C AVSC_IMPORT ret AVSC_CC name
115+
# define AVSC_API(ret, name) AVS_EXTERN_C AVSC_IMPORT ret AVSC_CC name
116116
# else
117117
# define AVSC_API(ret, name) typedef ret (AVSC_CC *name##_func)
118118
# endif

0 commit comments

Comments
 (0)