Mercurial > vim
comparison src/glbl_ime.h @ 18753:6e3dc2d630c2 v8.1.2366
patch 8.1.2366: using old C style comments
Commit: https://github.com/vim/vim/commit/9bf703d46a79fbffeb829246ea5ce385bddc4166
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 30 19:44:38 2019 +0100
patch 8.1.2366: using old C style comments
Problem: Using old C style comments.
Solution: Use // comments where appropriate.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Nov 2019 19:45:03 +0100 |
parents | 4aead6a9b7a9 |
children |
comparison
equal
deleted
inserted
replaced
18752:9ec3c9cb4533 | 18753:6e3dc2d630c2 |
---|---|
5 * Do ":help uganda" in Vim to read copying and usage conditions. | 5 * Do ":help uganda" in Vim to read copying and usage conditions. |
6 * Do ":help credits" in Vim to see a list of people who contributed. | 6 * Do ":help credits" in Vim to see a list of people who contributed. |
7 */ | 7 */ |
8 | 8 |
9 #ifdef GLOBAL_IME | 9 #ifdef GLOBAL_IME |
10 #ifndef _INC_GLOBAL_IME | 10 # ifndef _INC_GLOBAL_IME |
11 #define _INC_GLOBAL_IME | 11 # define _INC_GLOBAL_IME |
12 | 12 |
13 #ifdef __cplusplus | 13 # ifdef __cplusplus |
14 extern "C" { | 14 extern "C" { |
15 #endif /* __cplusplus */ | 15 # endif |
16 void global_ime_init(ATOM, HWND); | 16 void global_ime_init(ATOM, HWND); |
17 void global_ime_end(void); | 17 void global_ime_end(void); |
18 LRESULT WINAPI global_ime_DefWindowProc(HWND, UINT, WPARAM, LPARAM); | 18 LRESULT WINAPI global_ime_DefWindowProc(HWND, UINT, WPARAM, LPARAM); |
19 BOOL WINAPI global_ime_TranslateMessage(CONST MSG *); | 19 BOOL WINAPI global_ime_TranslateMessage(CONST MSG *); |
20 void WINAPI global_ime_set_position(POINT*); | 20 void WINAPI global_ime_set_position(POINT*); |
21 void WINAPI global_ime_set_font(LOGFONT*); | 21 void WINAPI global_ime_set_font(LOGFONT*); |
22 #if 0 | 22 # if 0 |
23 void WINAPI global_ime_status_evacuate(void); | 23 void WINAPI global_ime_status_evacuate(void); |
24 void WINAPI global_ime_status_restore(void); | 24 void WINAPI global_ime_status_restore(void); |
25 #endif | 25 # endif |
26 void WINAPI global_ime_set_status(int status); | 26 void WINAPI global_ime_set_status(int status); |
27 int WINAPI global_ime_get_status(void); | 27 int WINAPI global_ime_get_status(void); |
28 #ifdef __cplusplus | 28 # ifdef __cplusplus |
29 } | 29 } |
30 #endif /* __cplusplus */ | 30 # endif |
31 | 31 |
32 #endif /* _INC_GLOBAL_IME */ | 32 # endif // _INC_GLOBAL_IME |
33 #endif /* GLOBAL_IME */ | 33 #endif // GLOBAL_IME |