summaryrefslogtreecommitdiff
path: root/fitz/fitz.h
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2011-12-15 13:59:39 +0100
committerTor Andersson <tor.andersson@artifex.com>2011-12-15 13:59:39 +0100
commitfd7c931c35e79cf3e6ec1703a7f3dd498d98f59c (patch)
tree2f4946ac3b8533cfcc0293a26ab2851a86adffe3 /fitz/fitz.h
parentba4cca2c65677aeffb088117169abbc12ebec3fc (diff)
downloadmupdf-fd7c931c35e79cf3e6ec1703a7f3dd498d98f59c.tar.xz
Remove stray whitespace.
Diffstat (limited to 'fitz/fitz.h')
-rw-r--r--fitz/fitz.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/fitz/fitz.h b/fitz/fitz.h
index 94a3eea2..81743d0a 100644
--- a/fitz/fitz.h
+++ b/fitz/fitz.h
@@ -108,7 +108,7 @@ struct fz_alloc_context_s
void *user;
void *(*malloc)(void *, unsigned int);
void *(*realloc)(void *, void *, unsigned int);
- void (*free)(void *, void *);
+ void (*free)(void *, void *);
};
/* Default allocator */
@@ -174,19 +174,19 @@ void fz_free_aa_context(fz_context *ctx);
/* memory allocation */
/* The following throw exceptions on failure to allocate */
-void *fz_malloc(fz_context *ctx, unsigned int size);
-void *fz_malloc_array(fz_context *ctx, unsigned int count, unsigned int size);
-void *fz_calloc(fz_context *ctx, unsigned int count, unsigned int size);
-void *fz_resize_array(fz_context *ctx, void *p, unsigned int count, unsigned int size);
+void *fz_malloc(fz_context *ctx, unsigned int size);
+void *fz_malloc_array(fz_context *ctx, unsigned int count, unsigned int size);
+void *fz_calloc(fz_context *ctx, unsigned int count, unsigned int size);
+void *fz_resize_array(fz_context *ctx, void *p, unsigned int count, unsigned int size);
char *fz_strdup(fz_context *ctx, char *s);
void fz_free(fz_context *ctx, void *p);
/* The following returns NULL on failure to allocate */
-void *fz_malloc_no_throw(fz_context *ctx, unsigned int size);
-void *fz_malloc_array_no_throw(fz_context *ctx, unsigned int count, unsigned int size);
-void *fz_calloc_no_throw(fz_context *ctx, unsigned int count, unsigned int size);
-void *fz_resize_array_no_throw(fz_context *ctx, void *p, unsigned int count, unsigned int size);
+void *fz_malloc_no_throw(fz_context *ctx, unsigned int size);
+void *fz_malloc_array_no_throw(fz_context *ctx, unsigned int count, unsigned int size);
+void *fz_calloc_no_throw(fz_context *ctx, unsigned int count, unsigned int size);
+void *fz_resize_array_no_throw(fz_context *ctx, void *p, unsigned int count, unsigned int size);
char *fz_strdup_no_throw(fz_context *ctx, char *s);