]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - kjs/object.h
JavaScriptCore-466.1.6.tar.gz
[apple/javascriptcore.git] / kjs / object.h
index 3807bed013f511adc55c5dd1a1bf0b41a012f37f..93cc0acc7b6802c6458e004ded84de68101c5273 100644 (file)
@@ -487,7 +487,7 @@ namespace KJS {
      * @param sourceId Optional source id.
      * @param sourceURL Optional source URL.
      */
-    static JSObject *create(ExecState *, ErrorType, const UString &message, int lineNumber, int sourceId, const UString &sourceURL);
+    static JSObject *create(ExecState *, ErrorType, const UString &message, int lineNumber, intptr_t sourceID, const UString &sourceURL);
     static JSObject *create(ExecState *, ErrorType, const char *message);
 
     /**
@@ -496,7 +496,7 @@ namespace KJS {
     static const char * const * const errorNames;
   };
 
-JSObject *throwError(ExecState *, ErrorType, const UString &message, int lineNumber, int sourceId, const UString &sourceURL);
+JSObject *throwError(ExecState *, ErrorType, const UString &message, int lineNumber, intptr_t sourceID, const UString &sourceURL);
 JSObject *throwError(ExecState *, ErrorType, const UString &message);
 JSObject *throwError(ExecState *, ErrorType, const char *message);
 JSObject *throwError(ExecState *, ErrorType);