utf-conv.h 453 Bytes
Newer Older
1
/*
schu committed
2
 * Copyright (C) 2009-2012 the libgit2 contributors
3 4 5 6 7 8 9
 *
 * This file is part of libgit2, distributed under the GNU GPL v2 with
 * a Linking Exception. For full terms see the included COPYING file.
 */

#include <wchar.h>

10 11
#ifndef INCLUDE_git_utfconv_h__
#define INCLUDE_git_utfconv_h__
12

13 14
#define GIT_WIN_PATH (260 + 1)

15
void git__utf8_to_16(wchar_t *dest, size_t length, const char *src);
16
void git__utf16_to_8(char *dest, const wchar_t *src);
17 18 19

#endif