@@ -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