utf-conv.h 456 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
/*
 * Copyright (C) 2009-2011 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>

10 11
#ifndef INCLUDE_git_utfconv_h__
#define INCLUDE_git_utfconv_h__
12

13
wchar_t* gitwin_to_utf16(const char* str);
14
int gitwin_append_utf16(wchar_t *buffer, const char *str, size_t len)
15
char* gitwin_from_utf16(const wchar_t* str);
16 17 18

#endif