Changeset 14954 in webkit for trunk/JavaScriptCore/API/APICast.h
- Timestamp:
- Jun 21, 2006, 4:10:02 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/APICast.h
r14951 r14954 67 67 inline JSValueRef toRef(KJS::JSValue* v) 68 68 { 69 return toRef(v);69 return reinterpret_cast<JSValueRef>(v); 70 70 } 71 71 … … 77 77 inline JSObjectRef toRef(KJS::JSObject* o) 78 78 { 79 return toRef(o);79 return reinterpret_cast<JSObjectRef>(o); 80 80 } 81 81 82 82 inline JSObjectRef toRef(const KJS::JSObject* o) 83 83 { 84 return toRef(const_cast<KJS::JSObject*>(o));84 return reinterpret_cast<JSObjectRef>(const_cast<KJS::JSObject*>(o)); 85 85 } 86 86
Note:
See TracChangeset
for help on using the changeset viewer.