From 4e49dd9cccef1fce6be2c3c47628fdf7b2b2bf38 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Mon, 8 Aug 2016 20:55:32 +0200 Subject: [PATCH] remove some pointer functions. We should go for C++ instead --- include/xbt/dynar.h | 2 +- include/xbt/function_types.h | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/include/xbt/dynar.h b/include/xbt/dynar.h index fa25a74140..ef7a555307 100644 --- a/include/xbt/dynar.h +++ b/include/xbt/dynar.h @@ -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. * diff --git a/include/xbt/function_types.h b/include/xbt/function_types.h index 9ba3ce380f..2f6745624f 100644 --- a/include/xbt/function_types.h +++ b/include/xbt/function_types.h @@ -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 */ -- 2.20.1