Changeset 70288 in webkit


Ignore:
Timestamp:
Oct 21, 2010 9:43:24 PM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-10-21 Kwang Yul Seo <skyul@company100.net>

Reviewed by Kent Tamura.

[BREWMP] Add a String constructor which takes AECHAR*
https://bugs.webkit.org/show_bug.cgi?id=45043

Add String(const AECHAR*) constructor for convenience.

  • wtf/text/WTFString.h:
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r70257 r70288  
     12010-10-21  Kwang Yul Seo  <skyul@company100.net>
     2
     3        Reviewed by Kent Tamura.
     4
     5        [BREWMP] Add a String constructor which takes AECHAR*
     6        https://bugs.webkit.org/show_bug.cgi?id=45043
     7
     8        Add String(const AECHAR*) constructor for convenience.
     9
     10        * wtf/text/WTFString.h:
     11
    1122010-10-21  Carlos Garcia Campos  <cgarcia@igalia.com>
    213
  • trunk/JavaScriptCore/wtf/text/WTFString.h

    r67506 r70288  
    5151#endif
    5252
     53#if PLATFORM(BREWMP)
     54// AECHAR is defined in AEEStdDef.h, but don't include it here to avoid conflicts.
     55#ifndef _AECHAR_DEFINED
     56typedef uint16             AECHAR;
     57#define _AECHAR_DEFINED
     58#endif
     59#endif
     60
    5361namespace WTF {
    5462
     
    296304    String(const BString&);
    297305    operator BString() const;
     306#endif
     307
     308#if PLATFORM(BREWMP)
     309    String(const AECHAR*);
    298310#endif
    299311
Note: See TracChangeset for help on using the changeset viewer.