summaryrefslogtreecommitdiff
path: root/src/win32/utf-conv.h
blob: c0cfffe4e1a336a9c73b85eadf3de1f0fbe98491 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
 * Copyright (C) 2009-2012 the libgit2 contributors
 *
 * 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>

#ifndef INCLUDE_git_utfconv_h__
#define INCLUDE_git_utfconv_h__

#define GIT_WIN_PATH (260 + 1)

void git__utf8_to_16(wchar_t *dest, const char *src);
void git__utf16_to_8(char *dest, const wchar_t *src);

#endif