From 70de59087500552156e19520863b7b434bf3edfc Mon Sep 17 00:00:00 2001 From: mquinson Date: Fri, 9 Sep 2005 09:40:25 +0000 Subject: [PATCH] Move some stuff unrelated to dynar out of dynar.h (into misc.h until I find a better place) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1714 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- include/xbt/dynar.h | 4 ---- include/xbt/misc.h | 5 +++++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/include/xbt/dynar.h b/include/xbt/dynar.h index 90c5fe4134..2f426037c8 100644 --- a/include/xbt/dynar.h +++ b/include/xbt/dynar.h @@ -56,10 +56,6 @@ SG_BEGIN_DECL() /** \brief Dynar data type (opaque type) */ typedef struct xbt_dynar_s *xbt_dynar_t; - /** \brief Pointer to a function freeing a pointed data */ - typedef void (void_f_ppvoid_t)(void**); - /** \brief Pointer to a function freeing some data */ - typedef void (void_f_pvoid_t) (void*); xbt_dynar_t xbt_dynar_new(unsigned long elm_size, void_f_pvoid_t *free_func); diff --git a/include/xbt/misc.h b/include/xbt/misc.h index 28428682d8..a4fa1b52f9 100644 --- a/include/xbt/misc.h +++ b/include/xbt/misc.h @@ -84,6 +84,11 @@ typedef struct { const char *xbt_procname(void); + /** \brief Pointer to a function freeing a pointed data */ + typedef void (void_f_ppvoid_t)(void**); + /** \brief Pointer to a function freeing some data */ + typedef void (void_f_pvoid_t) (void*); + SG_END_DECL() #endif /* XBT_MISC_H */ -- 2.20.1