Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
1776d17a
Commit
1776d17a
authored
Oct 13, 2011
by
deuce
Browse files
Remove use of JSScript
parent
6728b7ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/sbbs3/js_cache.h
src/sbbs3/js_cache.h
+2
-2
No files found.
src/sbbs3/js_cache.h
View file @
1776d17a
...
@@ -18,7 +18,7 @@ struct cache_data {
...
@@ -18,7 +18,7 @@ struct cache_data {
ulong
runcount
;
/* Number of times this script has been used */
ulong
runcount
;
/* Number of times this script has been used */
time_t
lastrun
;
/* Time script was last ran */
time_t
lastrun
;
/* Time script was last ran */
time_t
laststat
;
/* Time of last call to stat() */
time_t
laststat
;
/* Time of last call to stat() */
JS
Scrip
t
*
script
;
JS
Objec
t
*
script
;
int
running
;
/* Count of currently running scripts */
int
running
;
/* Count of currently running scripts */
int
expired
;
/* TRUE if last stat() makes this as stale and
int
expired
;
/* TRUE if last stat() makes this as stale and
* running was non-zero */
* running was non-zero */
...
@@ -43,7 +43,7 @@ extern "C" {
...
@@ -43,7 +43,7 @@ extern "C" {
* Compiles it and adds to the cache if not.
* Compiles it and adds to the cache if not.
* Increments running value.
* Increments running value.
*/
*/
JS
Scrip
t
*
js_get_compiled_script
(
JSContext
*
cx
,
char
*
filename
);
JS
Objec
t
*
js_get_compiled_script
(
JSContext
*
cx
,
char
*
filename
);
/*
/*
* Starts the caching thread. The caching thread periodically
* Starts the caching thread. The caching thread periodically
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment