Show
Ignore:
Timestamp:
08/18/08 11:14:49 (5 months ago)
Author:
odole
Message:

merge with webkit revision 35814

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/JavaScriptCore/API/APICast.h

    r424 r440  
    4141typedef const struct OpaqueJSContext* JSContextRef; 
    4242typedef struct OpaqueJSContext* JSGlobalContextRef; 
    43 typedef struct OpaqueJSString* JSStringRef; 
    4443typedef struct OpaqueJSPropertyNameAccumulator* JSPropertyNameAccumulatorRef; 
    4544typedef const struct OpaqueJSValue* JSValueRef; 
     
    6160{ 
    6261    return reinterpret_cast<KJS::JSValue*>(const_cast<OpaqueJSValue*>(v)); 
    63 } 
    64  
    65 inline KJS::UString::Rep* toJS(JSStringRef b) 
    66 { 
    67     return reinterpret_cast<KJS::UString::Rep*>(b); 
    6862} 
    6963 
     
    9185{ 
    9286    return reinterpret_cast<JSValueRef*>(const_cast<const KJS::JSValue**>(v)); 
    93 } 
    94  
    95 inline JSStringRef toRef(KJS::UString::Rep* s) 
    96 { 
    97     return reinterpret_cast<JSStringRef>(s); 
    9887} 
    9988