Subversion Repositories filter_foundry

Rev

Rev 460 | Rev 512 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 460 Rev 495
Line 15... Line 15...
15
        You should have received a copy of the GNU General Public License
15
        You should have received a copy of the GNU General Public License
16
        along with this program; if not, write to the Free Software
16
        along with this program; if not, write to the Free Software
17
        Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17
        Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18
*/
18
*/
19
 
19
 
-
 
20
#ifdef WIN_ENV
-
 
21
#include <windows.h>
-
 
22
#endif
-
 
23
 
20
#ifndef STR_H_
24
#ifndef STR_H_
21
#define STR_H_
25
#define STR_H_
22
 
26
 
-
 
27
#ifdef MAC_ENV
-
 
28
#ifdef UNICODE
-
 
29
#define TCHAR wchar_t
-
 
30
#else
-
 
31
#define TCHAR char
-
 
32
#endif
-
 
33
#endif
-
 
34
 
-
 
35
void strcpy_advance(TCHAR** str, TCHAR* append);
-
 
36
void strcpy_advance_a(TCHAR** str, char* append);
-
 
37
 
23
#ifdef UNICODE
38
#ifdef UNICODE
24
size_t xstrlen(wchar_t* s);
39
size_t xstrlen(wchar_t* s);
25
wchar_t* xstrcpy(wchar_t* dst, wchar_t* src);
40
wchar_t* xstrcpy(wchar_t* dst, wchar_t* src);
26
wchar_t* xstrcat(wchar_t* dst, const wchar_t* src);
41
wchar_t* xstrcat(wchar_t* dst, const wchar_t* src);
27
wchar_t* xstrrchr(wchar_t* const _Str, const int _Ch);
42
wchar_t* xstrrchr(wchar_t* const _Str, const int _Ch);