mirror of
https://github.com/rkd77/elinks.git
synced 2025-09-21 19:46:23 -04:00
Add the number of interpreters to Resources box
Introduce static int interpreter_count in src/ecmascript/ecmascript.c. Maintain interpreter_count in ecmascript_get_interpreter and ecmascript_put_interpreter. Introduce ecmascript_get_interpreter_count. Display the number of ECMAScript interpreters that have been allocated for documents in the Resources dialog box.
This commit is contained in:
@@ -71,6 +71,7 @@ void ecmascript_free_urls(struct module *module);
|
||||
|
||||
struct ecmascript_interpreter *ecmascript_get_interpreter(struct view_state*vs);
|
||||
void ecmascript_put_interpreter(struct ecmascript_interpreter *interpreter);
|
||||
int ecmascript_get_interpreter_count(void);
|
||||
|
||||
void ecmascript_detach_form_view(struct form_view *fv);
|
||||
void ecmascript_detach_form_state(struct form_state *fs);
|
||||
|
Reference in New Issue
Block a user