Mercurial > libpostproc.hg
comparison postprocess.h @ 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 | 1500ae6cf66c |
comparison
equal
deleted
inserted
replaced
115:213fc392f0c0 | 116:a4769eff95f0 |
---|---|
56 | 56 |
57 typedef void pp_context; | 57 typedef void pp_context; |
58 typedef void pp_mode; | 58 typedef void pp_mode; |
59 | 59 |
60 #if LIBPOSTPROC_VERSION_INT < (52<<16) | 60 #if LIBPOSTPROC_VERSION_INT < (52<<16) |
61 typedef pp_context pp_context_t; | |
62 typedef pp_mode pp_mode_t; | |
61 extern const char *const pp_help; ///< a simple help text | 63 extern const char *const pp_help; ///< a simple help text |
62 #else | 64 #else |
63 extern const char pp_help[]; ///< a simple help text | 65 extern const char pp_help[]; ///< a simple help text |
64 #endif | 66 #endif |
65 | 67 |