summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/context.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-05-07 16:46:16 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-05-16 12:48:07 +0200
commitf4cb197ad36f5ea3ab834abb41d2641daf152622 (patch)
treee5d7222f7ffb1308c1d060c367f363723151b739 /include/mupdf/fitz/context.h
parentb4e9bdcd4daa09e27e112979750d1f85e3c5496e (diff)
downloadmupdf-f4cb197ad36f5ea3ab834abb41d2641daf152622.tar.xz
Purge unused functions.
Diffstat (limited to 'include/mupdf/fitz/context.h')
-rw-r--r--include/mupdf/fitz/context.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/mupdf/fitz/context.h b/include/mupdf/fitz/context.h
index 5a05f940..8f72ad99 100644
--- a/include/mupdf/fitz/context.h
+++ b/include/mupdf/fitz/context.h
@@ -12,7 +12,6 @@
typedef struct fz_alloc_context_s fz_alloc_context;
typedef struct fz_error_context_s fz_error_context;
typedef struct fz_error_stack_slot_s fz_error_stack_slot;
-typedef struct fz_id_context_s fz_id_context;
typedef struct fz_warn_context_s fz_warn_context;
typedef struct fz_font_context_s fz_font_context;
typedef struct fz_colorspace_context_s fz_colorspace_context;
@@ -148,7 +147,6 @@ struct fz_context_s
void *user;
const fz_alloc_context *alloc;
fz_locks_context locks;
- fz_id_context *id;
fz_error_context *error;
fz_warn_context *warn;
fz_font_context *font;
@@ -536,22 +534,6 @@ void *fz_malloc_array_no_throw(fz_context *ctx, size_t count, size_t size);
*/
void *fz_resize_array_no_throw(fz_context *ctx, void *p, size_t count, size_t size);
-/*
- fz_strdup_no_throw: Duplicate a C string (with scavenging)
-
- s: The string to duplicate.
-
- Returns a pointer to a duplicated string. Returns NULL on failure
- to allocate.
-*/
-char *fz_strdup_no_throw(fz_context *ctx, const char *s);
-
-/*
- fz_gen_id: Generate an id (guaranteed unique within this family of
- contexts).
-*/
-int fz_gen_id(fz_context *ctx);
-
struct fz_warn_context_s
{
char message[256];