all JS-dependent code now includes scripting/SpiderMonkey.h instead of <js*.h> directly - see rationale in that header.

singleton: removed unnecessary headers

This was SVN commit r2425.
This commit is contained in:
janwas
2005-06-22 02:23:46 +00:00
parent 92e50f2992
commit f3951fbfae
6 changed files with 40 additions and 27 deletions
+1 -9
View File
@@ -3,15 +3,7 @@
#include "ScriptInterface.h"
#include "CLocale.h"
#include "StringConvert.h"
#include <jsapi.h>
// Make JS debugging a little easier by automatically naming GC roots
#ifndef NDEBUG
// Don't simply #define NAME_ALL_GC_ROOTS, because jsapi.h is horridly broken
# define JS_AddRoot(cx, rp) JS_AddNamedRoot((cx), (rp), __FILE__)
#endif
#include "scripting/SpiderMonkey.h"
#include "ps/CLogger.h"
#define LOG_CATEGORY "i18n"