Bram Moolenaar | 693e40c | 2013-02-26 14:56:42 +0100 | [diff] [blame] | 1 | /* winclip.c */ |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 2 | int utf8_to_utf16(char_u *instr, int inlen, short_u *outstr, int *unconvlenp); |
| 3 | int utf16_to_utf8(short_u *instr, int inlen, char_u *outstr); |
| 4 | void MultiByteToWideChar_alloc(UINT cp, DWORD flags, LPCSTR in, int inlen, LPWSTR *out, int *outlen); |
| 5 | void WideCharToMultiByte_alloc(UINT cp, DWORD flags, LPCWSTR in, int inlen, LPSTR *out, int *outlen, LPCSTR def, LPBOOL useddef); |
| 6 | void win_clip_init(void); |
Bram Moolenaar | 0554fa4 | 2019-06-14 21:36:54 +0200 | [diff] [blame^] | 7 | int clip_mch_own_selection(Clipboard_T *cbd); |
| 8 | void clip_mch_lose_selection(Clipboard_T *cbd); |
| 9 | void clip_mch_request_selection(Clipboard_T *cbd); |
| 10 | void clip_mch_set_selection(Clipboard_T *cbd); |
Bram Moolenaar | ef26954 | 2016-01-19 13:22:12 +0100 | [diff] [blame] | 11 | short_u *enc_to_utf16(char_u *str, int *lenp); |
| 12 | char_u *utf16_to_enc(short_u *str, int *lenp); |
| 13 | void acp_to_enc(char_u *str, int str_size, char_u **out, int *outlen); |
| 14 | void enc_to_acp(char_u *str, int str_size, char_u **out, int *outlen); |
Bram Moolenaar | 693e40c | 2013-02-26 14:56:42 +0100 | [diff] [blame] | 15 | /* vim: set ft=c : */ |