Changeset 37812 in webkit for trunk/JavaScriptCore/API/APICast.h
- Timestamp:
- Oct 23, 2008, 8:55:41 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/APICast.h
r37712 r37812 71 71 inline JSValueRef toRef(JSC::JSValuePtr v) 72 72 { 73 return reinterpret_cast<JSValueRef>(v .payload());73 return reinterpret_cast<JSValueRef>(v); 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 ->payloadPtr()));78 return reinterpret_cast<JSValueRef*>(const_cast<const JSC::JSValue**>(v)); 79 79 } 80 80
Note:
See TracChangeset
for help on using the changeset viewer.