gras_error_t errcode;
int i,cpt,cursor;
- // TRYFAIL(gras_log_control_set("root.thresh=debug dynar.thresh=info"));
- TRYFAIL(gras_log_control_set("dynar.thresh=debug root.thresh=info"));
+ gras_init_defaultlog(&argc,argv,"dynar.thresh=debug");
+
fprintf(stderr,"==== Traverse the empty dynar\n");
TRYFAIL(gras_dynar_new(&d,sizeof(int),NULL));
gras_dynar_foreach(d,cursor,i){
}
gras_dynar_free(d);
+ gras_exit();
return 0;
}