Document of c-modernization-kit (util) 1.0.0
Loading...
Searching...
No Matches
console-util.h
Go to the documentation of this file.
1#ifndef CONSOLE_UTIL_H
2#define CONSOLE_UTIL_H
3
28
29/* ===== DLL エクスポート / インポート制御マクロ ===== */
30
31#ifdef DOXYGEN
32
46#define CONSOLE_UTIL_EXPORT
47
55#define CONSOLE_UTIL_API
56
57#else /* !DOXYGEN */
58
59#ifndef _WIN32
60 #define CONSOLE_UTIL_EXPORT
61 #define CONSOLE_UTIL_API
62#else /* _WIN32 */
63 #ifndef __INTELLISENSE__
64 #ifndef CONSOLE_UTIL_STATIC
65 #ifdef CONSOLE_UTIL_EXPORTS
66 #define CONSOLE_UTIL_EXPORT __declspec(dllexport)
67 #else /* !CONSOLE_UTIL_EXPORTS */
68 #define CONSOLE_UTIL_EXPORT __declspec(dllimport)
69 #endif /* CONSOLE_UTIL_EXPORTS */
70 #else /* CONSOLE_UTIL_STATIC */
71 #define CONSOLE_UTIL_EXPORT
72 #endif /* CONSOLE_UTIL_STATIC */
73 #else /* __INTELLISENSE__ */
74 #define CONSOLE_UTIL_EXPORT
75 #endif /* __INTELLISENSE__ */
76 #ifndef CONSOLE_UTIL_API
77 #define CONSOLE_UTIL_API __stdcall
78 #endif /* CONSOLE_UTIL_API */
79#endif /* _WIN32 */
80
81#endif /* DOXYGEN */
82
83/* ===== API 関数 ===== */
84
85#ifdef __cplusplus
86extern "C"
87{
88#endif /* __cplusplus */
89
106
115
116#ifdef __cplusplus
117}
118#endif /* __cplusplus */
119
120#endif /* CONSOLE_UTIL_H */
CONSOLE_UTIL_EXPORT void CONSOLE_UTIL_API console_init(void)
コンソールヘルパーを初期化する。
#define CONSOLE_UTIL_API
呼び出し規約マクロ。
CONSOLE_UTIL_EXPORT void CONSOLE_UTIL_API console_dispose(void)
コンソールヘルパーを終了し、リソースを解放する。
#define CONSOLE_UTIL_EXPORT
DLL エクスポート/インポート制御マクロ。