ELinks 0.16.1.1
form_view Struct Reference

#include <form.h>

Collaboration diagram for form_view:

Data Fields

void * magic1
struct form_viewnext
struct form_viewprev
void * magic2
int form_num
 The corresponding form.form_num within the document.
void * ecmascript_obj
 This holds the ECMAScript object attached to this structure.

Detailed Description

This struct looks a little embarrassing, yeah.

Field Documentation

◆ ecmascript_obj

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).

◆ form_num

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.

See also
find_form_by_form_view()

◆ magic1

void* form_view::magic1

◆ magic2

void* form_view::magic2

◆ next

struct form_view* form_view::next

◆ prev

struct form_view* form_view::prev

The documentation for this struct was generated from the following file: