]> git.imager.perl.org - imager.git/blobdiff - imerror.h
don't define mm_log() with IMAGER_NO_CONTEXT
[imager.git] / imerror.h
index da56df1f53d49aa9c57bba3ce5e536197b51d673..e4a73189fae5c2a0a2e79b14299e64a2099af8e8 100644 (file)
--- a/imerror.h
+++ b/imerror.h
@@ -18,10 +18,11 @@ extern void i_set_argv0(char const *);
 extern int i_set_errors_fatal(int new_fatal);
 extern i_errmsg *i_errors(void);
 
-extern void i_push_error(int code, char const *msg);
+extern void im_push_error(pIMCTX, int code, char const *msg);
 extern void i_push_errorf(int code, char const *fmt, ...) I_FORMAT_ATTR(2, 3);
-extern void i_push_errorvf(int code, char const *fmt, va_list);
-extern void i_clear_error(void);
+extern void im_push_errorf(pIMCTX, int code, char const *fmt, ...) I_FORMAT_ATTR(3, 4);
+extern void im_push_errorvf(im_context_t ctx, int code, char const *fmt, va_list);
+extern void im_clear_error(pIMCTX);
 extern int i_failed(int code, char const *msg);
 
 #endif