Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add two missing types: short and long (short int and long int were already there)
[simgrid.git] / src / gras / DataDesc / datadesc.c
index f84a068..11ec857 100644 (file)
@@ -62,6 +62,9 @@ gras_datadesc_init(void) {
   ddt = gras_datadesc_scalar("short int", 
                             gras_ddt_scalar_short, 
                             e_gras_dd_scalar_encoding_sint);
+  ddt = gras_datadesc_scalar("short",
+                            gras_ddt_scalar_short, 
+                            e_gras_dd_scalar_encoding_sint);
   ddt = gras_datadesc_scalar("unsigned short int", 
                             gras_ddt_scalar_short, 
                             e_gras_dd_scalar_encoding_uint);
@@ -82,6 +85,9 @@ gras_datadesc_init(void) {
   ddt = gras_datadesc_scalar("long int", 
                             gras_ddt_scalar_long, 
                             e_gras_dd_scalar_encoding_sint);
+  ddt = gras_datadesc_scalar("long",
+                            gras_ddt_scalar_long, 
+                            e_gras_dd_scalar_encoding_sint);
   ddt = gras_datadesc_scalar("unsigned long int", 
                             gras_ddt_scalar_long, 
                             e_gras_dd_scalar_encoding_uint);