Changeset 68 for trunk/include/unicode.h


Ignore:
Timestamp:
Jun 9, 1999, 3:12:20 PM (26 years ago)
Author:
achimha
Message:

Added unicode/ascii functions to convert n characters, old ones wrap to new functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/unicode.h

    r55 r68  
    1 /* $Id: unicode.h,v 1.3 1999-06-08 09:44:27 achimha Exp $ */
     1/* $Id: unicode.h,v 1.4 1999-06-09 13:12:19 achimha Exp $ */
    22
    33/*
     
    1515#endif
    1616
     17/* also used from Windows only files ported from WINE */
     18#ifndef WIN32API
     19#define WIN32API WINAPI
     20#endif
     21
    1722char *WIN32API UnicodeToAsciiString(LPWSTR ustring);
    1823int   WIN32API UnicodeToAscii(LPWSTR ustring, char *astring);
     24int   WIN32API UnicodeToAsciiN(LPWSTR ustring, char *astring, int unilen);
    1925void  WIN32API FreeAsciiString(char *astring);
    2026void  WIN32API AsciiToUnicode(char *ascii, LPWSTR unicode);
     27void  WIN32API AsciiToUnicodeN(char *ascii, LPWSTR unicode, int asciilen);
    2128
    2229#ifdef __cplusplus
Note: See TracChangeset for help on using the changeset viewer.