1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-27 01:25:34 +00:00

[spidermonkey] JS_PS_END

This commit is contained in:
Witold Filipczyk 2020-11-21 17:54:47 +01:00
parent 477e56eb43
commit 085a93d544
10 changed files with 13 additions and 13 deletions

View File

@ -379,7 +379,7 @@ JSPropertySpec document_props[] = {
JS_PSG("referrer", document_get_property_referrer, JSPROP_ENUMERATE),
JS_PSGS("title", document_get_property_title, document_set_property_title, JSPROP_ENUMERATE), /* TODO: Charset? */
JS_PSGS("url", document_get_property_url, document_set_property_url, JSPROP_ENUMERATE),
{ NULL }
JS_PS_END
};

View File

@ -1263,7 +1263,7 @@ static JSPropertySpec input_props[] = {
JS_PSG("tabindex", input_get_property_tabIndex, JSPROP_ENUMERATE),
JS_PSG("type", input_get_property_type, JSPROP_ENUMERATE),
JS_PSGS("value", input_get_property_value, input_set_property_value, JSPROP_ENUMERATE),
{ NULL }
JS_PS_END
};
static bool input_blur(JSContext *ctx, unsigned int argc, JS::Value *rval);
@ -1628,7 +1628,7 @@ enum form_elements_prop {
};
static JSPropertySpec form_elements_props[] = {
JS_PSG("length", form_elements_get_property_length, JSPROP_ENUMERATE),
{ NULL }
JS_PS_END
};
static bool
@ -1904,7 +1904,7 @@ static JSPropertySpec form_props[] = {
JS_PSGS("method", form_get_property_method, form_set_property_method, JSPROP_ENUMERATE),
JS_PSGS("name", form_get_property_name, form_set_property_name, JSPROP_ENUMERATE),
JS_PSGS("target", form_get_property_target, form_set_property_target, JSPROP_ENUMERATE),
{ NULL }
JS_PS_END
};
static bool form_reset(JSContext *ctx, unsigned int argc, JS::Value *rval);
@ -2707,7 +2707,7 @@ enum forms_prop {
};
JSPropertySpec forms_props[] = {
JS_PSG("length", forms_get_property_length, JSPROP_ENUMERATE),
{ NULL }
JS_PS_END
};
/* Find the form whose name is @name, which should normally be a

View File

@ -179,7 +179,7 @@ enum location_prop {
};
JSPropertySpec location_props[] = {
JS_PSGS("href", location_get_property_href, location_set_property_href, JSPROP_ENUMERATE),
{ NULL }
JS_PS_END
};

View File

@ -84,7 +84,7 @@ JSPropertySpec navigator_props[] = {
JS_PSG("language", navigator_get_property_language, JSPROP_ENUMERATE),
JS_PSG("platform", navigator_get_property_platform, JSPROP_ENUMERATE),
JS_PSG("userAgent", navigator_get_property_userAgent, JSPROP_ENUMERATE),
{ NULL }
JS_PS_END
};

View File

@ -82,7 +82,7 @@ enum unibar_prop {
};
JSPropertySpec unibar_props[] = {
JS_PSGS("visible", unibar_get_property_visible, unibar_set_property_visible, JSPROP_ENUMERATE),
{ NULL }
JS_PS_END
};

View File

@ -90,7 +90,7 @@ JSPropertySpec window_props[] = {
JS_PSGS("status", window_get_property_status, window_set_property_status, 0),
JS_PSG("top", window_get_property_top, JSPROP_ENUMERATE),
JS_PSG("window", window_get_property_self, JSPROP_ENUMERATE),
{ NULL }
JS_PS_END
};

View File

@ -102,7 +102,7 @@ static const JSPropertySpec bookmark_props[] = {
JS_PSGS("title", bookmark_get_property_title, bookmark_set_property_title, JSPROP_ENUMERATE),
JS_PSGS( "url", bookmark_get_property_url, bookmark_set_property_url, JSPROP_ENUMERATE),
JS_PSG("children", bookmark_get_property_children, JSPROP_ENUMERATE),
{ NULL }
JS_PS_END
};
static JSObject *smjs_get_bookmark_folder_object(struct bookmark *bookmark);

View File

@ -56,7 +56,7 @@ static const JSPropertySpec cache_entry_props[] = {
JS_PSG("length", cache_entry_get_property_length, JSPROP_ENUMERATE),
JS_PSGS("head", cache_entry_get_property_head, cache_entry_set_property_head, JSPROP_ENUMERATE),
JS_PSG("uri", cache_entry_get_property_uri, JSPROP_ENUMERATE),
{ NULL }
JS_PS_END
};
static bool

View File

@ -102,7 +102,7 @@ static const JSPropertySpec elinks_props[] = {
JS_PSG("home", elinks_get_property_home, JSPROP_ENUMERATE),
JS_PSGS("location", elinks_get_property_location, elinks_set_property_location, JSPROP_ENUMERATE),
JS_PSG("session", elinks_get_property_session, JSPROP_ENUMERATE),
{ NULL }
JS_PS_END
};
static bool elinks_get_property(JSContext *ctx, JS::HandleObject hobj, JS::HandleId hid, JS::MutableHandleValue hvp);

View File

@ -66,7 +66,7 @@ static const JSPropertySpec smjs_globhist_item_props[] = {
JS_PSGS("title", smjs_globhist_item_get_property_title, smjs_globhist_item_set_property_title, JSPROP_ENUMERATE),
JS_PSGS("url", smjs_globhist_item_get_property_url, smjs_globhist_item_set_property_url, JSPROP_ENUMERATE),
JS_PSGS("last_visit", smjs_globhist_item_get_property_last_visit, smjs_globhist_item_set_property_last_visit, JSPROP_ENUMERATE),
{ NULL }
JS_PS_END
};
/* @smjs_globhist_item_class.getProperty */