diff options
author | Sebastian Rasmussen <sebras@gmail.com> | 2012-07-04 23:17:15 +0200 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-07-06 11:39:34 +0100 |
commit | 82af5a75f9b36f2a427fece2cbd14686e644d4ec (patch) | |
tree | 1c2536efcf787e34c4da1e21b5717d37d228998a /pdf/pdf_function.c | |
parent | a4f38e03b9fb97002b497122ab2dff2f322776f4 (diff) | |
download | mupdf-82af5a75f9b36f2a427fece2cbd14686e644d4ec.tar.xz |
Remove debugging functions for release builds.
Diffstat (limited to 'pdf/pdf_function.c')
-rw-r--r-- | pdf/pdf_function.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pdf/pdf_function.c b/pdf/pdf_function.c index 7c123476..859e0306 100644 --- a/pdf/pdf_function.c +++ b/pdf/pdf_function.c @@ -117,6 +117,7 @@ struct ps_stack_s int sp; }; +#ifndef NDEBUG void pdf_debug_ps_stack(ps_stack *st) { @@ -147,6 +148,7 @@ pdf_debug_ps_stack(ps_stack *st) printf("\n"); } +#endif static void ps_init_stack(ps_stack *st) @@ -1495,6 +1497,7 @@ pdf_eval_function(fz_context *ctx, pdf_function *func, float *in, int inlen, flo * Debugging prints */ +#ifndef NDEBUG static void pdf_debug_indent(char *prefix, int level, char *suffix) { @@ -1710,3 +1713,4 @@ pdf_debug_function(pdf_function *func) { pdf_debug_function_imp(func, 0); } +#endif |