Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove some pointer functions. We should go for C++ instead
authorMartin Quinson <martin.quinson@loria.fr>
Mon, 8 Aug 2016 18:55:32 +0000 (20:55 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Mon, 8 Aug 2016 18:55:32 +0000 (20:55 +0200)
include/xbt/dynar.h
include/xbt/function_types.h

index fa25a74..ef7a555 100644 (file)
@@ -23,7 +23,7 @@ SG_BEGIN_DECL()
   *  
   * For performance concerns, the content of DynArr must be homogeneous (in contrary to dictionnaries -- see the
   * \ref XBT_dict section). You thus have to provide the function which will be used to free the content at
-  * structure creation (of type void_f_ppvoid_t or void_f_pvoid_t).
+  * structure creation (of type void_f_pvoid_t).
   *
   * @deprecated If you are using C++, you might want to use `std::vector` instead.
   *
index 9ba3ce3..2f67456 100644 (file)
@@ -13,9 +13,7 @@
 
 SG_BEGIN_DECL()
 
-typedef void (*void_f_ppvoid_t) (void **);
 typedef void (*void_f_pvoid_t) (void *);
-typedef void (*void_f_int_pvoid_t) (int, void *);
 typedef void *(*pvoid_f_void_t) (void);
 typedef void *(*pvoid_f_pvoid_t) (void *);
 typedef void (*void_f_void_t) (void);
@@ -28,8 +26,5 @@ typedef int (*int_f_cpvoid_cpvoid_t) (const void *, const void *);
 
 typedef int (*xbt_main_func_t) (int argc, char *argv[]);
 
-typedef double(*double_f_pvoid_t) (void *);
-typedef double(*double_f_cpvoid_t) (const void *);
-
 SG_END_DECL()
 #endif                          /* XBT_FUNCTION_TYPE_H */