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):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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;
Note: See TracChangeset for help on using the changeset viewer.