changeset 116:a4769eff95f0 libpostproc

Add backwards-compatibility typedef for removed _t names under appropriate version #ifdef since otherwise public API is broken.
author diego
date Thu, 11 Dec 2008 21:05:31 +0000
parents 213fc392f0c0
children 3a76063f4145
files postprocess.h
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/postprocess.h	Thu Dec 11 20:06:16 2008 +0000
+++ b/postprocess.h	Thu Dec 11 21:05:31 2008 +0000
@@ -58,6 +58,8 @@
 typedef void pp_mode;
 
 #if LIBPOSTPROC_VERSION_INT < (52<<16)
+typedef pp_context pp_context_t;
+typedef pp_mode pp_mode_t;
 extern const char *const pp_help; ///< a simple help text
 #else
 extern const char pp_help[]; ///< a simple help text