Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

[c8d76d]: src / os / mac / pws_str.h Maximize Restore History

Download this file

pws_str.h    28 lines (24 with data), 827 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*
* Copyright (c) 2003-2014 Rony Shapiro <ronys@users.sourceforge.net>.
* All rights reserved. Use of the code is allowed under the
* Artistic License 2.0 terms, as specified in the LICENSE file
* distributed with this code, or available from
* http://www.opensource.org/licenses/artistic-license-2.0.php
*/
#ifndef __PWS_STR_H
#define __PWS_STR_H
#include "../typedefs.h"
namespace pws_os {
/**
* Workaround the lack of a wchar_t version of silly conversion functions
*/
extern int wctoi(const wchar_t *s);
extern double wctof(const wchar_t *s);
extern int wcscasecmp(const wchar_t* s1, const wchar_t* s2);
extern wchar_t* wcsdup(const wchar_t* src);
};
#endif /* __PWS_STR_H */
//-----------------------------------------------------------------------------
// Local variables:
// mode: c++
// End: