2007-02-17 16:34:10 +00:00
|
|
|
/*
|
|
|
|
* winchar.h
|
|
|
|
*
|
|
|
|
* This file is a part of NSIS.
|
|
|
|
*
|
2009-02-01 14:44:30 +00:00
|
|
|
* Copyright (C) 1999-2009 Nullsoft and Contributors
|
2007-02-17 16:34:10 +00:00
|
|
|
*
|
|
|
|
* Licensed under the zlib/libpng license (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
*
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
*
|
|
|
|
* This software is provided 'as-is', without any express or implied
|
|
|
|
* warranty.
|
|
|
|
*/
|
|
|
|
|
2007-01-25 12:57:44 +00:00
|
|
|
#include "Platform.h"
|
|
|
|
|
2007-01-25 13:04:52 +00:00
|
|
|
WCHAR *winchar_fromansi(const char* s, unsigned int codepage = CP_ACP);
|
|
|
|
char *winchar_toansi(const WCHAR* ws, unsigned int codepage = CP_ACP);
|
2007-01-25 12:57:44 +00:00
|
|
|
WCHAR *winchar_strcpy(WCHAR *ws1, const WCHAR *ws2);
|
|
|
|
WCHAR *winchar_strncpy(WCHAR *ws1, const WCHAR *ws2, size_t n);
|
2007-04-11 21:33:18 +00:00
|
|
|
size_t winchar_strlen(const WCHAR *ws);
|
|
|
|
WCHAR *winchar_strdup(const WCHAR *ws);
|
2007-01-25 12:57:44 +00:00
|
|
|
int winchar_strcmp(const WCHAR *ws1, const WCHAR *ws2);
|
|
|
|
int winchar_stoi(const WCHAR *ws);
|