ctx->error_sp = IM_ERROR_COUNT-1;
}
-void
-i_clear_error(void) {
- im_clear_error(im_get_context());
-}
-
/*
=item i_push_error(int code, char const *msg)
=synopsis i_push_error(0, "Yep, it's broken");
ctx->error_stack[ctx->error_sp].code = code;
}
+#if 0
+
void
i_push_error(int code, char const *msg) {
im_push_error(im_get_context(), code, msg);
}
+#endif
+
/*
=item i_push_errorvf(int C<code>, char const *C<fmt>, va_list C<ap>)
}
void
-i_push_errorvf(int code, char const *fmt, va_list ap) {
+(i_push_errorvf)(int code, char const *fmt, va_list ap) {
im_push_errorvf(im_get_context(), code, fmt, ap);
}