Document of c-modernization-kit (override-sample) 1.0.0
Loading...
Searching...
No Matches
libbase_ext.h
Go to the documentation of this file.
1
16
17#ifndef LIBBASE_EXT_H
18#define LIBBASE_EXT_H
19
20#ifdef DOXYGEN
21
35#define BASE_EXT_EXPORT
36
44#define BASE_EXT_API
45
46#else /* !DOXYGEN */
47
48#ifndef _WIN32
49 #define BASE_EXT_EXPORT
50 #define BASE_EXT_API
51#else /* _WIN32 */
52 #ifndef __INTELLISENSE__
53 #ifndef BASE_EXT_STATIC
54 #ifdef BASE_EXT_EXPORTS
55 #define BASE_EXT_EXPORT __declspec(dllexport)
56 #else /* !BASE_EXT_EXPORTS */
57 #define BASE_EXT_EXPORT __declspec(dllimport)
58 #endif /* BASE_EXT_EXPORTS */
59 #else /* BASE_EXT_STATIC */
60 #define BASE_EXT_EXPORT
61 #endif /* BASE_EXT_STATIC */
62 #else /* __INTELLISENSE__ */
63 #define BASE_EXT_EXPORT
64 #endif /* __INTELLISENSE__ */
65 #ifndef BASE_EXT_API
66 #define BASE_EXT_API __stdcall
67 #endif /* BASE_EXT_API */
68#endif /* _WIN32 */
69
70#endif /* DOXYGEN */
71
72#ifdef __cplusplus
73extern "C"
74{
75#endif /* __cplusplus */
76
100 BASE_EXT_EXPORT extern int BASE_EXT_API override_func(const int a, const int b, int *result);
101
102#ifdef __cplusplus
103}
104#endif /* __cplusplus */
105
106#endif /* LIBBASE_EXT_H */
#define BASE_EXT_API
呼び出し規約マクロ。
Definition libbase_ext.h:44
#define BASE_EXT_EXPORT
DLL エクスポート/インポート制御マクロ。
Definition libbase_ext.h:35
BASE_EXT_EXPORT int BASE_EXT_API override_func(const int a, const int b, int *result)
sample_func のオーバーライド実装。