Bug 677079 - Part c: Stop installing jsdate.h; r=Waldo

This commit is contained in:
Ms2ger 2012-01-15 09:13:07 +01:00
parent aec664aa8d
commit 8f9952cbfe
6 changed files with 15 additions and 14 deletions

View File

@ -39,7 +39,7 @@
#include "Key.h"
#include "nsIStreamBufferAccess.h"
#include "jsdate.h"
#include "jsfriendapi.h"
#include "nsAlgorithm.h"
#include "nsContentUtils.h"
#include "nsJSUtils.h"

View File

@ -39,7 +39,7 @@
#include "SmsMessage.h"
#include "nsIDOMClassInfo.h"
#include "jsapi.h" // For OBJECT_TO_JSVAL and JS_NewDateObjectMsec
#include "jsdate.h" // For js_DateGetMsecSinceEpoch
#include "jsfriendapi.h" // For js_DateGetMsecSinceEpoch
#include "Constants.h"
DOMCI_DATA(MozSmsMessage, mozilla::dom::sms::SmsMessage)

View File

@ -196,7 +196,6 @@ INSTALLED_HEADERS = \
jscntxt.h \
jscompat.h \
jscrashreport.h \
jsdate.h \
jsdbgapi.h \
jsdhash.h \
jsfriendapi.h \

View File

@ -77,13 +77,6 @@ extern JS_FRIEND_API(JSObject*)
js_NewDateObject(JSContext* cx, int year, int mon, int mday,
int hour, int min, int sec);
/*
* Detect whether the internal date value is NaN. (Because failure is
* out-of-band for js_DateGet*)
*/
extern JS_FRIEND_API(JSBool)
js_DateIsValid(JSContext *cx, JSObject* obj);
extern JS_FRIEND_API(int)
js_DateGetYear(JSContext *cx, JSObject* obj);
@ -102,9 +95,6 @@ js_DateGetMinutes(JSContext *cx, JSObject* obj);
extern JS_FRIEND_API(int)
js_DateGetSeconds(JSContext *cx, JSObject* obj);
extern JS_FRIEND_API(jsdouble)
js_DateGetMsecSinceEpoch(JSContext *cx, JSObject *obj);
typedef uint32_t JSIntervalTime;
extern JS_FRIEND_API(JSIntervalTime)

View File

@ -498,4 +498,16 @@ js_GetClassPrototype(JSContext *cx, JSObject *scope, JSProtoKey protoKey,
#endif
/* Implemented in jsdate.cpp. */
/*
* Detect whether the internal date value is NaN. (Because failure is
* out-of-band for js_DateGet*)
*/
extern JS_FRIEND_API(JSBool)
js_DateIsValid(JSContext *cx, JSObject* obj);
extern JS_FRIEND_API(double)
js_DateGetMsecSinceEpoch(JSContext *cx, JSObject *obj);
#endif /* jsfriendapi_h___ */

View File

@ -41,7 +41,7 @@
#include "sqlite3.h"
#include "jsapi.h"
#include "jsdate.h"
#include "jsfriendapi.h"
#include "nsPrintfCString.h"
#include "nsString.h"