Changeset 15234 in webkit for trunk/JavaScriptCore
- Timestamp:
- Jul 8, 2006, 10:53:08 AM (19 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/API/JSContextRef.cpp
r15225 r15234 76 76 if (exception) 77 77 *exception = completion.value(); 78 return NULL;78 return 0; 79 79 } 80 80 -
trunk/JavaScriptCore/API/JSObjectRef.cpp
r15233 r15234 89 89 if (exception) 90 90 *exception = Error::create(exec, SyntaxError, errMsg, errLine, sid, jsSourceURL); 91 return NULL;91 return 0; 92 92 } 93 93 … … 230 230 *exception = exec->exception(); 231 231 exec->clearException(); 232 result = NULL;232 result = 0; 233 233 } 234 234 return result; … … 255 255 if (exception) 256 256 *exception = exec->exception(); 257 result = NULL;258 257 exec->clearException(); 258 result = 0; 259 259 } 260 260 return result; -
trunk/JavaScriptCore/API/JSValueRef.cpp
r15224 r15234 205 205 if (exec->hadException()) { 206 206 exec->clearException(); 207 objectRef = NULL;207 objectRef = 0; 208 208 } 209 209 return objectRef; -
trunk/JavaScriptCore/ChangeLog
r15233 r15234 1 2006-07-08 Geoffrey Garen <[email protected]> 2 3 Style change -- no review necessary. 4 5 Use 0 instead of NULL in API .cpp files, to match our style guidelines. 6 7 * API/JSContextRef.cpp: 8 (JSEvaluate): 9 * API/JSObjectRef.cpp: 10 (JSFunctionMakeWithBody): 11 (JSObjectCallAsFunction): 12 (JSObjectCallAsConstructor): 13 * API/JSValueRef.cpp: 14 (JSValueToObject): 15 1 16 2006-07-08 Geoffrey Garen <[email protected]> 2 17
Note:
See TracChangeset
for help on using the changeset viewer.