From 1776d17ac772bd8338ba1ba97abdf23de281dade Mon Sep 17 00:00:00 2001 From: deuce <> Date: Thu, 13 Oct 2011 23:44:59 +0000 Subject: [PATCH] Remove use of JSScript --- src/sbbs3/js_cache.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sbbs3/js_cache.h b/src/sbbs3/js_cache.h index f9a9a6561c..14eb2ddb2d 100644 --- a/src/sbbs3/js_cache.h +++ b/src/sbbs3/js_cache.h @@ -18,7 +18,7 @@ struct cache_data { ulong runcount; /* Number of times this script has been used */ time_t lastrun; /* Time script was last ran */ time_t laststat; /* Time of last call to stat() */ - JSScript *script; + JSObject *script; int running; /* Count of currently running scripts */ int expired; /* TRUE if last stat() makes this as stale and * running was non-zero */ @@ -43,7 +43,7 @@ extern "C" { * Compiles it and adds to the cache if not. * Increments running value. */ -JSScript *js_get_compiled_script(JSContext *cx, char *filename); +JSObject *js_get_compiled_script(JSContext *cx, char *filename); /* * Starts the caching thread. The caching thread periodically -- GitLab