Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use m_file_t instead of m_file_t*
[simgrid.git] / src / simix / smx_smurf_private.h
index 026252c..4552149 100644 (file)
@@ -511,7 +511,7 @@ typedef struct s_smx_simcall {
       void *ptr;
       size_t size;
       size_t nmemb;
-      smx_file_t* stream;
+      smx_file_t stream;
       size_t result;
     } file_read;
 
@@ -519,18 +519,18 @@ typedef struct s_smx_simcall {
       const void *ptr;
       size_t size;
       size_t nmemb;
-      smx_file_t* stream;
+      smx_file_t stream;
       size_t result;
     } file_write;
 
     struct {
       const char* path;
       const char* mode;
-      smx_file_t* result;
+      smx_file_t result;
     } file_open;
 
     struct {
-      smx_file_t* fp;
+      smx_file_t fp;
       int result;
     } file_close;