Use the public JS functions and not internal ones, this didn't work on the Mac, but was fine on windows and linux.

git-svn-id: svn://10.0.0.236/trunk@69613 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
jst%netscape.com
2000-05-14 02:43:03 +00:00
parent a4a39ae695
commit 1de9809f35

View File

@@ -22,7 +22,6 @@
/* AUTO-GENERATED. DO NOT EDIT!!! */
#include "jsapi.h"
#include "jsnum.h"
#include "nsJSUtils.h"
#include "nsDOMError.h"
#include "nscore.h"
@@ -250,7 +249,7 @@ CSSPrimitiveValueGetFloatValue(JSContext *cx, JSObject *obj, uintN argc, jsval *
return nsJSUtils::nsReportError(cx, obj, result);
}
*rval = DOUBLE_TO_JSVAL(js_NewDouble(cx, nativeRet));
*rval = DOUBLE_TO_JSVAL(JS_NewDouble(cx, nativeRet));
}
return JS_TRUE;