Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reduce overengeneering around datadesc, put stubs in place so that the kernel compile...
[simgrid.git] / testsuite / xbt / dynar_string.c
index 7fea46b..5ce0dfb 100644 (file)
@@ -29,7 +29,7 @@ int main(int argc,char *argv[]) {
    parse_log_opt(argc,argv,"dynar.thresh=debug");
    
    fprintf(stderr,"==== Traverse the empty dynar\n");
-   TRYFAIL(gras_dynar_new(&d,sizeof(int),NULL));
+   TRYFAIL(gras_dynar_new(&d,sizeof(char *),&free_string));
    gras_dynar_foreach(d,cpt,i){
      fprintf(stderr,
             "Damnit, there is something in the empty dynar\n");