ELinks 0.18.0
|
#include <form.h>
Public Member Functions | |
LIST_HEAD_EL (struct form_view) | |
Data Fields | |
int | form_num |
The corresponding form.form_num within the document. | |
void * | ecmascript_obj |
This holds the ECMAScript object attached to this structure. | |
Related Symbols | |
(Note that these are not member symbols.) | |
void | done_form_view (struct form_view *fv) |
Free fv and any data owned by it. | |
This struct looks a little embarrassing, yeah.
form_view::LIST_HEAD_EL | ( | struct form_view | ) |
|
related |
Free fv and any data owned by it.
This does not call del_from_list(fv), so the caller must usually do that first.
void* form_view::ecmascript_obj |
This holds the ECMAScript object attached to this structure.
It can be NULL since the object is created on-demand at the first time some ECMAScript code accesses it. It is freed automatically by the garbage-collecting code when the ECMAScript context is over (usually when the document is destroyed).
int form_view::form_num |
The corresponding form.form_num within the document.
We can't just reference to struct form since we can potentially live much longer than that.