Diff for libplaton/platon/str/strconv.h between version 1.5 and 1.6
| version 1.5, 2002/08/16 20:31:43 |
version 1.6, 2002/08/27 13:12:33 |
|
|
| #ifndef _PLATON_STR_STRCONV_H |
#ifndef _PLATON_STR_STRCONV_H |
| #define _PLATON_STR_STRCONV_H |
#define _PLATON_STR_STRCONV_H |
| |
|
| |
#ifndef PLATON_FUNC |
| |
# define PLATON_FUNC(_name) _name |
| |
#endif |
| |
#ifndef PLATON_FUNC_STR |
| |
# define PLATON_FUNC_STR(_name) #_name |
| |
#endif |
| |
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| extern "C" { |
extern "C" { |
| #endif |
#endif |
|
|
| * Converts str from charset_from codepage to charset_to codepage. |
* Converts str from charset_from codepage to charset_to codepage. |
| * Returns str on success, NULL on error (bad input parameters). |
* Returns str on success, NULL on error (bad input parameters). |
| */ |
*/ |
| #ifdef PLATON_PREFIX |
char *PLATON_FUNC(strconv)(str, charset_from, charset_to); |
| char *FUNCTION(strconv)(str, charset_from, charset_to); |
|
| #else |
|
| char *strconv(char *str, char *charset_from, char *charset_to); |
|
| #endif |
|
| |
|
| #ifdef __cplusplus |
#ifdef __cplusplus |
| } |
} |
Platon Group <platon@platon.org> http://platon.org/
|
|