Diff of /tinyxml/tinyxml.h [6f4e46] .. [97d421]  Maximize  Restore

  Switch to unified view

a/tinyxml/tinyxml.h b/tinyxml/tinyxml.h
...
...
288
protected:
288
protected:
289
289
290
    static const char* SkipWhiteSpace( const char*, TiXmlEncoding encoding );
290
    static const char* SkipWhiteSpace( const char*, TiXmlEncoding encoding );
291
    inline static bool IsWhiteSpace( char c )       
291
    inline static bool IsWhiteSpace( char c )       
292
    { 
292
    { 
293
      // FIXME: Explicit tests for '\n' and '\r' seem redundant here;
294
      // POSIX requires isspace() to match both of these characters as
295
      // white space anyway; is there any know implementation which
296
      // does not comply with this requirement?
297
      //
293
        return ( isspace( (unsigned char) c ) || c == '\n' || c == '\r' ); 
298
        return ( isspace( (unsigned char) c ) || c == '\n' || c == '\r' ); 
294
    }
299
    }
295
    inline static bool IsWhiteSpace( int c )
300
    inline static bool IsWhiteSpace( int c )
296
    {
301
    {
297
        if ( c < 256 )
302
        if ( c < 256 )

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks