0
0
mirror of https://github.com/rkd77/elinks.git synced 2025-09-21 19:46:23 -04:00

952, 954: Add ecmascript_detach_form_view stub

Anything that frees struct form_view must now call the new function
ecmascript_detach_form_view.  This function should then clear out any
dangling pointers, but that has not yet been implemented.
This commit is contained in:
Kalle Olavi Niemitalo
2008-07-18 19:43:30 +03:00
committed by Kalle Olavi Niemitalo
parent bbadb99dd1
commit 759fbb1142
7 changed files with 36 additions and 4 deletions

View File

@@ -9,6 +9,7 @@
#include "util/time.h"
struct form_state;
struct form_view;
struct string;
struct terminal;
struct uri;
@@ -71,6 +72,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);
void ecmascript_detach_form_view(struct form_view *fv);
void ecmascript_detach_form_state(struct form_state *fs);
void ecmascript_moved_form_state(struct form_state *fs);