From: mquinson Date: Wed, 23 Feb 2005 08:16:07 +0000 (+0000) Subject: Add a boolean to each node indicating whether it's an internal node or not to allow... X-Git-Tag: v3.3~4308 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/89977d794cd93842c820c99139fe4e1c04f00175 Add a boolean to each node indicating whether it's an internal node or not to allow the storage of NULL data git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1044 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/src/xbt/dict_private.h b/src/xbt/dict_private.h index 14d5a211f1..c0117b5996 100644 --- a/src/xbt/dict_private.h +++ b/src/xbt/dict_private.h @@ -22,6 +22,7 @@ typedef struct xbt_dictelm_ { char *key; int key_len; int offset; /* offset on the key */ + int internal; /* true if it's only an internal node */ void *content; void_f_pvoid_t *free_f; /*pointer to the function to call to free this ctn*/