diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2011-04-03 15:26:44 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2011-04-03 16:01:34 +0200 |
commit | 6af0abc477539365a19a4797babfd567da4d375f (patch) | |
tree | 6a5edad9154113dacb98cf966532eb507f6bcc29 /xps/muxps.h | |
parent | 8e0110dcba95b991fc397a8c1b70c97953b1b8d5 (diff) | |
download | mupdf-6af0abc477539365a19a4797babfd567da4d375f.tar.xz |
xps: Remove xps_context from hash table implementation.
Diffstat (limited to 'xps/muxps.h')
-rw-r--r-- | xps/muxps.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xps/muxps.h b/xps/muxps.h index 371b5983..f3f2cdf4 100644 --- a/xps/muxps.h +++ b/xps/muxps.h @@ -38,12 +38,12 @@ void xps_absolute_path(char *output, char *base_uri, char *path, int output_size typedef struct xps_hash_table_s xps_hash_table; -xps_hash_table *xps_hash_new(xps_context *ctx); +xps_hash_table *xps_hash_new(void); void *xps_hash_lookup(xps_hash_table *table, char *key); -int xps_hash_insert(xps_context *ctx, xps_hash_table *table, char *key, void *value); -void xps_hash_free(xps_context *ctx, xps_hash_table *table, - void (*free_key)(xps_context *ctx, void *), - void (*free_value)(xps_context *ctx, void *)); +int xps_hash_insert(xps_hash_table *table, char *key, void *value); +void xps_hash_free(xps_hash_table *table, + void (*free_key)(void *), + void (*free_value)(void *)); void xps_hash_debug(xps_hash_table *table); /* |