X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1bbfe6dff09cff639aaab8fd2898678a5a630c2b..b1acf7fe2f1886e9adcb4313f53548c9995a906c:/testsuite/gras/datadesc_usage.c diff --git a/testsuite/gras/datadesc_usage.c b/testsuite/gras/datadesc_usage.c index 2a6507bf26..8acb2d073a 100644 --- a/testsuite/gras/datadesc_usage.c +++ b/testsuite/gras/datadesc_usage.c @@ -80,7 +80,6 @@ gras_error_t test_array(void) { gras_datadesc_type_t *my_type; array i,*j; - long int code; int cpt; INFO0("==== Test on fixed array ===="); @@ -90,8 +89,8 @@ gras_error_t test_array(void) { j=NULL; TRY(gras_datadesc_by_name("int", &int_type)); - TRY(gras_datadesc_declare_array("fixed array of int", int_type, 5, &code)); - TRY(gras_datadesc_by_code(code,&my_type)); + TRY(gras_datadesc_declare_array_fixed("fixed int array", + int_type, 5, &my_type)); TRY(write_read(my_type, (void*)&i,(void**) &j)); for (cpt=0; cpt