1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-23 01:57:59 +01:00

Use services.dactyl when available.

This commit is contained in:
Kris Maglione
2011-09-22 21:55:58 -04:00
parent 6af256bc53
commit e1db34990b
6 changed files with 147 additions and 31 deletions

View File

@@ -40,6 +40,12 @@
#ifndef mozJSLoaderUtils_h
#define mozJSLoaderUtils_h
/*
* This is evil. Very evil.
#define nsString_h___
#include "nsStringGlue.h"
*/
#include "nsIStartupCache.h"
#include "nsStringAPI.h"
#include "jsapi.h"
@@ -52,10 +58,6 @@ class StartupCache;
}
}
#include "nsIWeakReferenceUtils.h"
typedef nsString nsAFlatString;
#include "nsScriptLoader.h"
nsresult
ReadCachedScript(nsIStartupCache* cache, nsACString &uri,
JSContext *cx, JSScript **scriptObj);