Changeset 37712 in webkit for trunk/JavaScriptCore/API/APICast.h
- Timestamp:
- Oct 19, 2008, 10:58:02 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/APICast.h
r37705 r37712 71 71 inline JSValueRef toRef(JSC::JSValuePtr v) 72 72 { 73 return reinterpret_cast<JSValueRef>(v );73 return reinterpret_cast<JSValueRef>(v.payload()); 74 74 } 75 75 76 76 inline JSValueRef* toRef(JSC::JSValuePtr* v) 77 77 { 78 return reinterpret_cast<JSValueRef*>(const_cast<const JSC::JSValue**>(v ));78 return reinterpret_cast<JSValueRef*>(const_cast<const JSC::JSValue**>(v->payloadPtr())); 79 79 } 80 80
Note:
See TracChangeset
for help on using the changeset viewer.