Fix function declaration

This commit is contained in:
Aygul Salahli 2019-10-17 14:58:00 +03:00
parent 5cd65814ca
commit 77292e90d8
2 changed files with 6 additions and 6 deletions

View File

@ -131,6 +131,7 @@ bool mycss_property_parser_border_right(mycss_entry_t* entry, mycss_token_t* tok
bool mycss_property_parser_border_right_color(mycss_entry_t* entry, mycss_token_t* token, bool last_response);
bool mycss_property_parser_border_right_style(mycss_entry_t* entry, mycss_token_t* token, bool last_response);
bool mycss_property_parser_border_right_width(mycss_entry_t* entry, mycss_token_t* token, bool last_response);
bool mycss_property_parser_short_two_type(mycss_entry_t* entry, mycss_token_t* token);
bool mycss_property_parser_border_spacing(mycss_entry_t* entry, mycss_token_t* token, bool last_response);
bool mycss_property_parser_border_style(mycss_entry_t* entry, mycss_token_t* token, bool last_response);
bool mycss_property_parser_border_top(mycss_entry_t* entry, mycss_token_t* token, bool last_response);
@ -370,7 +371,6 @@ bool mycss_property_parser_wrap_flow(mycss_entry_t* entry, mycss_token_t* token,
bool mycss_property_parser_wrap_through(mycss_entry_t* entry, mycss_token_t* token, bool last_response);
bool mycss_property_parser_writing_mode(mycss_entry_t* entry, mycss_token_t* token, bool last_response);
bool mycss_property_parser_z_index(mycss_entry_t* entry, mycss_token_t* token, bool last_response);
bool mycss_property_parser_short_two_type(mycss_entry_t* entry, mycss_token_t* token);
#ifdef __cplusplus
} /* extern "C" */

View File

@ -1033,11 +1033,6 @@ bool mycss_property_parser_border_radius(mycss_entry_t* entry, mycss_token_t* to
return mycss_property_parser_destroy_string(&str, mycss_property_shared_switch_to_parse_error(entry));
}
bool mycss_property_parser_border_top_right_radius(mycss_entry_t* entry, mycss_token_t* token, bool last_response)
{
return mycss_property_parser_short_two_type(entry, token);
}
bool mycss_property_parser_short_two_type(mycss_entry_t* entry, mycss_token_t* token)
{
if(token->type == MyCSS_TOKEN_TYPE_WHITESPACE)
@ -1080,6 +1075,11 @@ bool mycss_property_parser_short_two_type(mycss_entry_t* entry, mycss_token_t* t
return mycss_property_parser_destroy_string(&str, mycss_property_shared_switch_to_parse_error(entry));
}
bool mycss_property_parser_border_top_right_radius(mycss_entry_t* entry, mycss_token_t* token, bool last_response)
{
return mycss_property_parser_short_two_type(entry, token);
}
bool mycss_property_parser_border_top_left_radius(mycss_entry_t* entry, mycss_token_t* token, bool last_response)
{
return mycss_property_parser_border_top_right_radius(entry, token, last_response);