Displaying 1 result from an estimated 1 matches for "wtr_get_next_char_from_spec".
2007 Sep 13
1
chartr better
...96,38 +2111,54 @@
/* Initialize the pointers for walking through the old and new
wtr_spec lists and retrieving the next chars from the lists.
*/
+ trs_cnt_ptr = Calloc(1, struct wtr_spec *);
+ *trs_cnt_ptr = trs_cnt->next;
+ for( xtable_cnt = 0 ; wtr_get_next_char_from_spec(trs_cnt_ptr)
;xtable_cnt++ );
+ Free(trs_cnt_ptr);
+ xtable = (xtable_t *)R_alloc(xtable_cnt+1,sizeof(xtable_t));
+
trs_old_ptr = Calloc(1, struct wtr_spec *);
*trs_old_ptr = trs_old->next;
trs_new_ptr = Calloc(1, struct wtr_spec *);
*trs_new_ptr =...