Changeset 15234 in webkit for trunk/JavaScriptCore


Ignore:
Timestamp:
Jul 8, 2006, 10:53:08 AM (19 years ago)
Author:
ggaren
Message:

Style change -- no review necessary.


Use 0 instead of NULL in API .cpp files, to match our style guidelines.

  • API/JSContextRef.cpp: (JSEvaluate):
  • API/JSObjectRef.cpp: (JSFunctionMakeWithBody): (JSObjectCallAsFunction): (JSObjectCallAsConstructor):
  • API/JSValueRef.cpp: (JSValueToObject):
Location:
trunk/JavaScriptCore
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/API/JSContextRef.cpp

    r15225 r15234  
    7676        if (exception)
    7777            *exception = completion.value();
    78         return NULL;
     78        return 0;
    7979    }
    8080   
  • trunk/JavaScriptCore/API/JSObjectRef.cpp

    r15233 r15234  
    8989        if (exception)
    9090            *exception = Error::create(exec, SyntaxError, errMsg, errLine, sid, jsSourceURL);
    91         return NULL;
     91        return 0;
    9292    }
    9393
     
    230230            *exception = exec->exception();
    231231        exec->clearException();
    232         result = NULL;
     232        result = 0;
    233233    }
    234234    return result;
     
    255255        if (exception)
    256256            *exception = exec->exception();
    257         result = NULL;
    258257        exec->clearException();
     258        result = 0;
    259259    }
    260260    return result;
  • trunk/JavaScriptCore/API/JSValueRef.cpp

    r15224 r15234  
    205205    if (exec->hadException()) {
    206206        exec->clearException();
    207         objectRef = NULL;
     207        objectRef = 0;
    208208    }
    209209    return objectRef;
  • trunk/JavaScriptCore/ChangeLog

    r15233 r15234  
     12006-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
    1162006-07-08  Geoffrey Garen  <[email protected]>
    217
Note: See TracChangeset for help on using the changeset viewer.