mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-27 01:32:55 +00:00
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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user