diff options
author | Jeff Muizelaar <jeff@infidigm.net> | 2007-09-02 00:53:42 +0000 |
---|---|---|
committer | Jeff Muizelaar <jeff@infidigm.net> | 2007-09-02 00:53:42 +0000 |
commit | 500a87af9240344806c18ebbd05a89f4f4c69955 (patch) | |
tree | 1f159fae103e424e26520cafad087d4abd7557d5 /poppler/Error.cc | |
parent | 0c22556bf70ff67eb388cdcd9784603030397785 (diff) |
2007-09-01 Jeff Muizelaar <jeff@infidigm.net>
* poppler/CairoOutputDev.cc:
* poppler/Error.cc:
* poppler/Error.h: Report any cairo errors when destroying the cairo
context.
Diffstat (limited to 'poppler/Error.cc')
-rw-r--r-- | poppler/Error.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/poppler/Error.cc b/poppler/Error.cc index f3b98b95..112c330d 100644 --- a/poppler/Error.cc +++ b/poppler/Error.cc @@ -47,3 +47,10 @@ void CDECL error(int pos, char *msg, ...) { (*errorFunction)(pos, msg, args); va_end(args); } + +void warning(char *msg, ...) { + va_list args; + va_start(args, msg); + vprintf(msg, args); + va_end(args); +} |