]> git.proxmox.com Git - libgit2.git/blame - src/util/win32/w32_buffer.h
Merge https://salsa.debian.org/debian/libgit2 into proxmox/bullseye
[libgit2.git] / src / util / win32 / w32_buffer.h
CommitLineData
cd39e4e2
ET
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 */
eae0bfdc
PP
7#ifndef INCLUDE_win32_w32_buffer_h__
8#define INCLUDE_win32_w32_buffer_h__
9
ad5611d8 10#include "git2_util.h"
e579e0f7 11#include "str.h"
cd39e4e2
ET
12
13/**
14 * Convert a wide character string to UTF-8 and append the results to the
15 * buffer.
16 */
e579e0f7 17int git_str_put_w(git_str *buf, const wchar_t *string_w, size_t len_w);
cd39e4e2
ET
18
19#endif