Show
Ignore:
Timestamp:
12/12/08 19:47:30 (5 years ago)
Author:
robert
Message:

Where possible moved redundent C header includes from headers to source files

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/include/osgDB/ConvertUTF

    r9168 r9343  
    1919 
    2020#include <string> 
    21 #include <string.h> 
    2221 
    2322#ifdef __CYGWIN__ 
     
    3130{ 
    3231 
    33 std::string OSGDB_EXPORT convertUTF16toUTF8(const wchar_t* source, unsigned sourceLength); 
    34 std::wstring OSGDB_EXPORT convertUTF8toUTF16(const char* source, unsigned sourceLength); 
     32extern OSGDB_EXPORT std::string convertUTF16toUTF8(const wchar_t* source, unsigned sourceLength); 
     33extern OSGDB_EXPORT std::wstring convertUTF8toUTF16(const char* source, unsigned sourceLength); 
    3534 
    36 inline std::string convertUTF16toUTF8(const std::wstring& s){return convertUTF16toUTF8(s.c_str(), s.length());} 
    37 inline std::string convertUTF16toUTF8(const wchar_t* s){return convertUTF16toUTF8(s, wcslen(s));} 
     35extern OSGDB_EXPORT std::string convertUTF16toUTF8(const std::wstring& s); 
     36extern OSGDB_EXPORT std::string convertUTF16toUTF8(const wchar_t* s); 
    3837 
    39 inline std::wstring convertUTF8toUTF16(const std::string& s){return convertUTF8toUTF16(s.c_str(), s.length());} 
    40 inline std::wstring convertUTF8toUTF16(const char* s){return convertUTF8toUTF16(s, strlen(s));} 
     38extern OSGDB_EXPORT std::wstring convertUTF8toUTF16(const std::string& s); 
     39extern OSGDB_EXPORT std::wstring convertUTF8toUTF16(const char* s); 
    4140 
    4241}