Mercurial > vim
diff 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 |
line wrap: on
line diff
--- a/src/glbl_ime.h +++ b/src/glbl_ime.h @@ -7,27 +7,27 @@ */ #ifdef GLOBAL_IME -#ifndef _INC_GLOBAL_IME -#define _INC_GLOBAL_IME +# ifndef _INC_GLOBAL_IME +# define _INC_GLOBAL_IME -#ifdef __cplusplus +# ifdef __cplusplus extern "C" { -#endif /* __cplusplus */ +# endif void global_ime_init(ATOM, HWND); void global_ime_end(void); LRESULT WINAPI global_ime_DefWindowProc(HWND, UINT, WPARAM, LPARAM); BOOL WINAPI global_ime_TranslateMessage(CONST MSG *); void WINAPI global_ime_set_position(POINT*); void WINAPI global_ime_set_font(LOGFONT*); -#if 0 +# if 0 void WINAPI global_ime_status_evacuate(void); void WINAPI global_ime_status_restore(void); -#endif +# endif void WINAPI global_ime_set_status(int status); int WINAPI global_ime_get_status(void); -#ifdef __cplusplus +# ifdef __cplusplus } -#endif /* __cplusplus */ +# endif -#endif /* _INC_GLOBAL_IME */ -#endif /* GLOBAL_IME */ +# endif // _INC_GLOBAL_IME +#endif // GLOBAL_IME