utf-conv.h 463 Bytes
Newer Older
1
/*
Edward Thomson committed
2
 * Copyright (C) the libgit2 contributors. All rights reserved.
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 16
int git__utf8_to_16(wchar_t *dest, size_t length, const char *src);
int git__utf16_to_8(char *dest, const wchar_t *src);
17 18 19

#endif