Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Move some stuff unrelated to dynar out of dynar.h (into misc.h until I find a better...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 9 Sep 2005 09:40:25 +0000 (09:40 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Fri, 9 Sep 2005 09:40:25 +0000 (09:40 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1714 48e7efb5-ca39-0410-a469-dd3cf9ba447f

include/xbt/dynar.h
include/xbt/misc.h

index 90c5fe4..2f42603 100644 (file)
@@ -56,10 +56,6 @@ SG_BEGIN_DECL()
    /** \brief Dynar data type (opaque type) */
    typedef struct xbt_dynar_s *xbt_dynar_t;
 
    /** \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);
 
   xbt_dynar_t   xbt_dynar_new(unsigned long elm_size, 
                             void_f_pvoid_t *free_func);
index 2842868..a4fa1b5 100644 (file)
@@ -84,6 +84,11 @@ typedef struct {
 
 const char *xbt_procname(void);
 
 
 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 */
 SG_END_DECL()
 
 #endif /* XBT_MISC_H */