projects
/
imager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0349ca
)
hide the i_push_errorf() prototype for IMAGER_NO_CONTEXT
author
Tony Cook
<tony@develop-help.com>
Mon, 6 Aug 2012 13:08:59 +0000
(23:08 +1000)
committer
Tony Cook
<tony@develop-help.com>
Tue, 14 Aug 2012 09:58:19 +0000
(19:58 +1000)
since you end up using the i_get_context() instead of the local
dIMCTX* or pIMCTX context
imerror.h
patch
|
blob
|
blame
|
history
diff --git
a/imerror.h
b/imerror.h
index e4a73189fae5c2a0a2e79b14299e64a2099af8e8..11f55ded7e394e3519007fb0a805ab5dc77f48b9 100644
(file)
--- a/
imerror.h
+++ b/
imerror.h
@@
-19,7
+19,9
@@
extern int i_set_errors_fatal(int new_fatal);
extern i_errmsg *i_errors(void);
extern void im_push_error(pIMCTX, int code, char const *msg);
+#ifndef IMAGER_NO_CONTEXT
extern void i_push_errorf(int code, char const *fmt, ...) I_FORMAT_ATTR(2, 3);
+#endif
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);