- // gras_dict_dump(head,&print_str);
- TRY(gras_dict_cursor_new(head,&cursor));
-
- while (gras_dict_cursor_next(cursor) == no_error) {
- TRY(gras_dict_cursor_get_key(cursor,&key));
- TRY(gras_dict_cursor_get_data(cursor,(void**)&data));
+ gras_dict_foreach(head,cursor,key,data) {