Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 723cbeb

Browse files
author
Aygul Salahli
committed
revert mistakenly removed background-size/repeat back
1 parent 13fb591 commit 723cbeb

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

‎source/mycss/values/values.c‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,39 @@ mycss_values_image_t * mycss_values_image_list_add_entry(mycss_entry_t* entry, m
102102
return image;
103103
}
104104

105+
mycss_values_background_repeat_t * mycss_values_background_repeat_list_add_entry(mycss_entry_t* entry, mycss_values_background_repeat_list_t *list)
106+
{
107+
if(list->entries == NULL) {
108+
list->entries = mycss_values_create(entry, sizeof(mycss_values_background_repeat_t));
109+
list->entries_length = 0;
110+
}
111+
else {
112+
list->entries = mycss_values_realloc(entry, list->entries,
113+
list->entries_length * sizeof(mycss_values_background_repeat_t),
114+
sizeof(mycss_values_background_repeat_t));
115+
}
116+
117+
mycss_values_background_repeat_t *repeat = &list->entries[ list->entries_length ];
118+
list->entries_length++;
119+
120+
return repeat;
121+
}
122+
123+
mycss_values_background_size_entry_t * mycss_values_background_size_list_add_entry(mycss_entry_t* entry, mycss_values_background_size_list_t *list)
124+
{
125+
if(list->entries == NULL) {
126+
list->entries = mycss_values_create(entry, sizeof(mycss_values_background_size_entry_t));
127+
list->entries_length = 0;
128+
}
129+
else {
130+
list->entries = mycss_values_realloc(entry, list->entries,
131+
list->entries_length * sizeof(mycss_values_background_size_entry_t),
132+
sizeof(mycss_values_background_size_entry_t));
133+
}
134+
135+
mycss_values_background_size_entry_t *size_entry = &list->entries[ list->entries_length ];
136+
list->entries_length++;
137+
138+
return size_entry;
139+
}
140+

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /