ConvertUTF C fix

This commit is contained in:
Arvid Norberg 2008-12-22 09:45:54 +00:00
parent 578c2eb80c
commit bb4e5c61b9
1 changed files with 4 additions and 0 deletions

View File

@ -95,6 +95,7 @@
typedef boost::uint32_t uint32_t; typedef boost::uint32_t uint32_t;
typedef boost::uint16_t uint16_t; typedef boost::uint16_t uint16_t;
typedef boost::uint8_t uint8_t; typedef boost::uint8_t uint8_t;
extern "C" {
#else #else
#define TORRENT_EXPORT #define TORRENT_EXPORT
#endif #endif
@ -149,4 +150,7 @@ ConversionResult ConvertUTF32toUTF16 (
Boolean isLegalUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd); Boolean isLegalUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd);
#ifdef __cplusplus
}
#endif
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */