src/list.c

changeset 855
35bcb3216c0d
parent 854
fe0d69d72bcd
child 856
6bbbf219251d
equal deleted inserted replaced
854:fe0d69d72bcd 855:35bcb3216c0d
186 list->climpl = NULL; 186 list->climpl = NULL;
187 } 187 }
188 } 188 }
189 189
190 void cxListStorePointers(CxList *list) { 190 void cxListStorePointers(CxList *list) {
191 list->base.item_size = sizeof(void *); 191 list->base.elem_size = sizeof(void *);
192 list->base.store_pointer = true; 192 list->base.store_pointer = true;
193 list->climpl = list->cl; 193 list->climpl = list->cl;
194 list->cl = &cx_pointer_list_class; 194 list->cl = &cx_pointer_list_class;
195 } 195 }
196 196

mercurial