| 147 | } |
| 148 | |
| 149 | static void debug_list_write( FILE * out, LIST * l ) |
| 150 | { |
| 151 | LISTITER iter = list_begin( l ), end = list_end( l ); |
| 152 | fprintf( out, "%d\n", list_length( l ) ); |
| 153 | for ( ; iter != end; iter = list_next( iter ) ) |
| 154 | { |
| 155 | debug_object_write( out, list_item( iter ) ); |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | static LIST * debug_list_read( FILE * in ) |
| 160 | { |
no test coverage detected