0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.1.1182: some function prototypes are outdated

Problem:    Some function prototypes are outdated.
Solution:   Update function prototypes. (Ken Takata, closes #4267)
This commit is contained in:
Bram Moolenaar
2019-04-17 18:24:35 +02:00
parent 2b00b9b0f3
commit b9cdb37176
8 changed files with 21 additions and 7 deletions

View File

@@ -5663,6 +5663,19 @@ term_getjob(term_T *term)
/**************************************
* 2. MS-Windows implementation.
*/
#ifdef PROTO
typedef int COORD;
typedef int DWORD;
typedef int HANDLE;
typedef int *DWORD_PTR;
typedef int HPCON;
typedef int HRESULT;
typedef int LPPROC_THREAD_ATTRIBUTE_LIST;
typedef int PSIZE_T;
typedef int PVOID;
typedef int SIZE_T;
typedef int WINAPI;
#endif
HRESULT (WINAPI *pCreatePseudoConsole)(COORD, HANDLE, HANDLE, DWORD, HPCON*);
HRESULT (WINAPI *pResizePseudoConsole)(HPCON, COORD);