diff options
Diffstat (limited to 'Build/source/texk/dvipdfmx/src/dpxutil.c')
-rw-r--r-- | Build/source/texk/dvipdfmx/src/dpxutil.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/Build/source/texk/dvipdfmx/src/dpxutil.c b/Build/source/texk/dvipdfmx/src/dpxutil.c index e153d050476..0de3631f73f 100644 --- a/Build/source/texk/dvipdfmx/src/dpxutil.c +++ b/Build/source/texk/dvipdfmx/src/dpxutil.c @@ -1,4 +1,4 @@ -/* $Header: /home/cvsroot/dvipdfmx/src/dpxutil.c,v 1.9 2008/11/03 22:49:29 matthias Exp $ +/* $Header: /home/cvsroot/dvipdfmx/src/dpxutil.c,v 1.11 2009/04/26 21:23:29 matthias Exp $ This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks. @@ -29,6 +29,7 @@ #include <time.h> #include "system.h" +#include "system.h" #include "mem.h" #include "error.h" @@ -202,6 +203,13 @@ ht_clear_table (struct ht_table *ht, void (*hval_free_fn) (void *)) ht->count = 0; } +long ht_table_size (struct ht_table *ht) +{ + ASSERT(ht); + + return ht->count; +} + static unsigned int get_hash (const void *key, int keylen) { |