mirror of
https://github.com/lexborisov/Modest
synced 2024-11-24 22:59:38 +03:00
Generated new 'mycss_selectors_function_begin_map_index' with 'perl utils/MyCSS/functions.pl'
This commit is contained in:
parent
6322e2c276
commit
6b7c2c4c5e
@ -22,9 +22,7 @@
|
||||
#define MyHTML_MyCSS_SELECTORS_FUNCTION_PARSER_H
|
||||
#pragma once
|
||||
|
||||
// FRANK
|
||||
// #define MyCSS_SELECTORS_FUNCTION_NAME_STATIC_SIZE 57
|
||||
#define MyCSS_SELECTORS_FUNCTION_NAME_STATIC_SIZE 59
|
||||
#define MyCSS_SELECTORS_FUNCTION_NAME_STATIC_SIZE 57
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -22,11 +22,9 @@
|
||||
#define MyHTML_MyCSS_SELECTORS_FUNCTION_RESOURCE_H
|
||||
#pragma once
|
||||
|
||||
// FRANK
|
||||
// #define MyCSS_SELECTORS_FUNCTION_NAME_STATIC_SIZE 58
|
||||
#define MyCSS_SELECTORS_FUNCTION_NAME_STATIC_SIZE 59
|
||||
#define MyCSS_SELECTORS_FUNCTION_NAME_STATIC_SIZE 57
|
||||
|
||||
static const mycss_selectots_function_begin_entry_t mycss_selectors_function_begin_map_index[] =
|
||||
static const mycss_selectots_function_begin_entry_t mycss_selectors_function_begin_map_index[] =
|
||||
{
|
||||
{NULL, 0, NULL, 0, 0},
|
||||
{"dir", 3, mycss_selectors_function_begin_dir, 0, 1},
|
||||
@ -80,12 +78,11 @@ static const mycss_selectots_function_begin_entry_t mycss_selectors_function_beg
|
||||
{"nth-child", 9, mycss_selectors_function_begin_nth_child, 0, 49},
|
||||
{NULL, 0, NULL, 0, 0},
|
||||
{NULL, 0, NULL, 0, 0},
|
||||
{NULL, 0, NULL, 0, 0},
|
||||
{"contains", 8, mycss_selectors_function_begin_contains, 0, 52},
|
||||
{NULL, 0, NULL, 0, 0},
|
||||
{NULL, 0, NULL, 0, 0},
|
||||
{NULL, 0, NULL, 0, 0},
|
||||
{"drop", 4, mycss_selectors_function_begin_drop, 0, 56},
|
||||
{"contains", 8, mycss_selectors_function_begin_contains, 0, 57},
|
||||
{NULL, 0, NULL, 0, 0},
|
||||
};
|
||||
|
||||
|
@ -39,6 +39,7 @@ static const mycss_selectors_value_destroy_f mycss_selectors_value_destroy_map[M
|
||||
static const mycss_selectors_value_function_destroy_f mycss_selectors_value_function_destroy_map[MyCSS_SELECTORS_SUB_TYPE_PSEUDO_CLASS_FUNCTION_LAST_ENTRY] = {
|
||||
mycss_selectors_value_pseudo_class_function_undef_destroy,
|
||||
mycss_selectors_value_pseudo_class_function_undef_destroy,
|
||||
mycss_selectors_value_pseudo_class_function_contains_destroy,
|
||||
mycss_selectors_value_pseudo_class_function_current_destroy,
|
||||
mycss_selectors_value_pseudo_class_function_dir_destroy,
|
||||
mycss_selectors_value_pseudo_class_function_drop_destroy,
|
||||
@ -52,7 +53,6 @@ static const mycss_selectors_value_function_destroy_f mycss_selectors_value_func
|
||||
mycss_selectors_value_pseudo_class_function_nth_last_column_destroy,
|
||||
mycss_selectors_value_pseudo_class_function_nth_last_of_type_destroy,
|
||||
mycss_selectors_value_pseudo_class_function_nth_of_type_destroy,
|
||||
mycss_selectors_value_pseudo_class_function_contains_destroy,
|
||||
};
|
||||
|
||||
#endif /* MyHTML_MyCSS_SELECTORS_VALUE_RESOURCE_H */
|
||||
|
BIN
lib/libmodest-0.0.6.so
Executable file
BIN
lib/libmodest-0.0.6.so
Executable file
Binary file not shown.
1
lib/libmodest-0.0.so
Symbolic link
1
lib/libmodest-0.0.so
Symbolic link
@ -0,0 +1 @@
|
||||
libmodest-0.0.6.so
|
1
lib/libmodest-0.so
Symbolic link
1
lib/libmodest-0.so
Symbolic link
@ -0,0 +1 @@
|
||||
libmodest-0.0.6.so
|
1
lib/libmodest.so
Symbolic link
1
lib/libmodest.so
Symbolic link
@ -0,0 +1 @@
|
||||
libmodest-0.0.6.so
|
BIN
lib/libmodest_static.a
Normal file
BIN
lib/libmodest_static.a
Normal file
Binary file not shown.
@ -22,9 +22,7 @@
|
||||
#define MyHTML_MyCSS_SELECTORS_FUNCTION_PARSER_H
|
||||
#pragma once
|
||||
|
||||
// FRANK
|
||||
// #define MyCSS_SELECTORS_FUNCTION_NAME_STATIC_SIZE 58
|
||||
#define MyCSS_SELECTORS_FUNCTION_NAME_STATIC_SIZE 59
|
||||
#define MyCSS_SELECTORS_FUNCTION_NAME_STATIC_SIZE 57
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -22,11 +22,9 @@
|
||||
#define MyHTML_MyCSS_SELECTORS_FUNCTION_RESOURCE_H
|
||||
#pragma once
|
||||
|
||||
// FRANK
|
||||
// #define MyCSS_SELECTORS_FUNCTION_NAME_STATIC_SIZE 58
|
||||
#define MyCSS_SELECTORS_FUNCTION_NAME_STATIC_SIZE 59
|
||||
#define MyCSS_SELECTORS_FUNCTION_NAME_STATIC_SIZE 57
|
||||
|
||||
static const mycss_selectots_function_begin_entry_t mycss_selectors_function_begin_map_index[] =
|
||||
static const mycss_selectots_function_begin_entry_t mycss_selectors_function_begin_map_index[] =
|
||||
{
|
||||
{NULL, 0, NULL, 0, 0},
|
||||
{"dir", 3, mycss_selectors_function_begin_dir, 0, 1},
|
||||
@ -80,12 +78,11 @@ static const mycss_selectots_function_begin_entry_t mycss_selectors_function_beg
|
||||
{"nth-child", 9, mycss_selectors_function_begin_nth_child, 0, 49},
|
||||
{NULL, 0, NULL, 0, 0},
|
||||
{NULL, 0, NULL, 0, 0},
|
||||
{NULL, 0, NULL, 0, 0},
|
||||
{"contains", 8, mycss_selectors_function_begin_contains, 0, 52},
|
||||
{NULL, 0, NULL, 0, 0},
|
||||
{NULL, 0, NULL, 0, 0},
|
||||
{NULL, 0, NULL, 0, 0},
|
||||
{"drop", 4, mycss_selectors_function_begin_drop, 0, 56},
|
||||
{"contains", 8, mycss_selectors_function_begin_contains, 0, 57},
|
||||
{NULL, 0, NULL, 0, 0},
|
||||
};
|
||||
|
||||
|
@ -371,4 +371,16 @@ void * mycss_selectors_value_pseudo_class_function_nth_of_type_destroy(mycss_ent
|
||||
return value;
|
||||
}
|
||||
|
||||
void * mycss_selectors_value_pseudo_class_function_contains_destroy(mycss_entry_t* entry, void* value, bool self_destroy)
|
||||
{
|
||||
if(value == NULL)
|
||||
return NULL;
|
||||
|
||||
if(self_destroy) {
|
||||
mchar_async_free(entry->mchar, entry->mchar_value_node_id, value);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return value;
|
||||
}
|
||||
|
||||
|
@ -39,6 +39,7 @@ static const mycss_selectors_value_destroy_f mycss_selectors_value_destroy_map[M
|
||||
static const mycss_selectors_value_function_destroy_f mycss_selectors_value_function_destroy_map[MyCSS_SELECTORS_SUB_TYPE_PSEUDO_CLASS_FUNCTION_LAST_ENTRY] = {
|
||||
mycss_selectors_value_pseudo_class_function_undef_destroy,
|
||||
mycss_selectors_value_pseudo_class_function_undef_destroy,
|
||||
mycss_selectors_value_pseudo_class_function_contains_destroy,
|
||||
mycss_selectors_value_pseudo_class_function_current_destroy,
|
||||
mycss_selectors_value_pseudo_class_function_dir_destroy,
|
||||
mycss_selectors_value_pseudo_class_function_drop_destroy,
|
||||
|
BIN
test/mycore/utils/avl_tree
Executable file
BIN
test/mycore/utils/avl_tree
Executable file
Binary file not shown.
BIN
test/mycss/declaration
Executable file
BIN
test/mycss/declaration
Executable file
Binary file not shown.
BIN
test/myencoding/encoding_detect_meta
Executable file
BIN
test/myencoding/encoding_detect_meta
Executable file
Binary file not shown.
BIN
test/myhtml/commoncrawl
Executable file
BIN
test/myhtml/commoncrawl
Executable file
Binary file not shown.
BIN
test/myhtml/pseudo_class_contains
Executable file
BIN
test/myhtml/pseudo_class_contains
Executable file
Binary file not shown.
BIN
test/myurl/url
Executable file
BIN
test/myurl/url
Executable file
Binary file not shown.
BIN
test_suite/mycore/utils/avl_tree
Executable file
BIN
test_suite/mycore/utils/avl_tree
Executable file
Binary file not shown.
BIN
test_suite/mycss/declaration
Executable file
BIN
test_suite/mycss/declaration
Executable file
Binary file not shown.
BIN
test_suite/myencoding/encoding_detect_meta
Executable file
BIN
test_suite/myencoding/encoding_detect_meta
Executable file
Binary file not shown.
BIN
test_suite/myhtml/commoncrawl
Executable file
BIN
test_suite/myhtml/commoncrawl
Executable file
Binary file not shown.
BIN
test_suite/myhtml/pseudo_class_contains
Executable file
BIN
test_suite/myhtml/pseudo_class_contains
Executable file
Binary file not shown.
BIN
test_suite/myurl/url
Executable file
BIN
test_suite/myurl/url
Executable file
Binary file not shown.
@ -13,7 +13,6 @@ my $func_map = {
|
||||
not => "",
|
||||
matches => "",
|
||||
has => "",
|
||||
contains => "",
|
||||
dir => "",
|
||||
lang => "",
|
||||
current => "",
|
||||
@ -23,7 +22,8 @@ my $func_map = {
|
||||
'nth-of-type' => "",
|
||||
'nth-last-of-type' => "",
|
||||
'nth-column' => "",
|
||||
'nth-last-column' => ""
|
||||
'nth-last-column' => "",
|
||||
'contains' => ""
|
||||
};
|
||||
|
||||
my $INDEX_OF_NAMES = print_functions();
|
||||
|
Loading…
Reference in New Issue
Block a user