1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[quickjs] Removed map_collections

It was too complicated with no gains.
This commit is contained in:
Witold Filipczyk 2024-10-24 18:11:18 +02:00
parent 68697e6480
commit b5997d4fa8
3 changed files with 0 additions and 9 deletions

View File

@ -157,8 +157,6 @@ quickjs_init(struct module *module)
map_attrs = attr_create_new_attrs_map();
map_attributes = attr_create_new_attributes_map();
map_rev_attributes = attr_create_new_attributes_map_rev();
map_collections = attr_create_new_collections_map();
map_rev_collections = attr_create_new_collections_map_rev();
map_doctypes = attr_create_new_doctypes_map();
map_elements = attr_create_new_elements_map();
map_privates = attr_create_new_privates_map_void();
@ -194,8 +192,6 @@ quickjs_done(struct module *xxx)
attr_delete_map(map_attrs);
attr_delete_map(map_attributes);
attr_delete_map_rev(map_rev_attributes);
attr_delete_map(map_collections);
attr_delete_map_rev(map_rev_collections);
attr_delete_map(map_doctypes);
attr_delete_map(map_elements);
map_elements = NULL;

View File

@ -25,9 +25,6 @@
#define countof(x) (sizeof(x) / sizeof((x)[0]))
void *map_collections;
void *map_rev_collections;
JSClassID js_htmlCollection_class_id;
struct js_col {

View File

@ -12,8 +12,6 @@ struct Xhr;
extern void *map_attrs;
extern void *map_attributes;
extern void *map_rev_attributes;
extern void *map_collections;
extern void *map_rev_collections;
extern void *map_doctypes;
extern void *map_elements;
extern void *map_privates;