X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9372ee127d1ac95f44215fa0a8bbde01398b4a14..9eb8b5a3c4a65bf441c487ecef308654d4f384f4:/src/xbt/dynar.c diff --git a/src/xbt/dynar.c b/src/xbt/dynar.c index dccfb7f5e4..a9e768eeb3 100644 --- a/src/xbt/dynar.c +++ b/src/xbt/dynar.c @@ -15,17 +15,11 @@ #include "xbt/dynar.h" #include - +#include "xbt/dynar_private.h" /* type definition, which we share with the + code in charge of sending this across the net */ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(dynar,xbt,"Dynamic arrays"); -typedef struct xbt_dynar_s { - unsigned long size; - unsigned long used; - unsigned long elmsize; - void *data; - void_f_pvoid_t *free_f; -} s_xbt_dynar_t; #define __sanity_check_dynar(dynar) \ xbt_assert0(dynar, \