]> git.proxmox.com Git - libgit2.git/blob - src/win32/w32_buffer.h
43298e4a78a99ce72ff82b1010af596e3d132238
[libgit2.git] / src / win32 / w32_buffer.h
1 /*
2 * Copyright (C) the libgit2 contributors. All rights reserved.
3 *
4 * This file is part of libgit2, distributed under the GNU GPL v2 with
5 * a Linking Exception. For full terms see the included COPYING file.
6 */
7 #ifndef INCLUDE_win32_w32_buffer_h__
8 #define INCLUDE_win32_w32_buffer_h__
9
10 #include "common.h"
11
12 #include "../buffer.h"
13
14 /**
15 * Convert a wide character string to UTF-8 and append the results to the
16 * buffer.
17 */
18 int git_buf_put_w(git_buf *buf, const wchar_t *string_w, size_t len_w);
19
20 #endif