robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

bfredlMerge pull request #35206 from bfredl/nopreproc_cleanup38986188ba

master
424 B20 linesraw
1#pragma once
2
3#include "klib/kvec.h"
4#include "nvim/os/input.h"
5
6#ifndef HPCON
7# define HPCON VOID *
8#endif
9
10extern HRESULT(WINAPI *pCreatePseudoConsole)
11  (COORD, HANDLE, HANDLE, DWORD, HPCON *);
12extern HRESULT(WINAPI *pResizePseudoConsole)(HPCON, COORD);
13extern void(WINAPI *pClosePseudoConsole)(HPCON);
14
15typedef struct conpty {
16  HPCON pty;
17  STARTUPINFOEXW si_ex;
18} conpty_t;
19
20#include "os/pty_conpty_win.h.generated.h"