Sha256: bdd3f2ae3674867b0f33a0f28bbad865f78f052384ea410d1ef9304eae7b590d
Contents?: true
Size: 813 Bytes
Versions: 2
Compression:
Stored size: 813 Bytes
Contents
//======================================================================== // // Error.cc // // Copyright 1996-2003 Glyph & Cog, LLC // //======================================================================== #include <aconf.h> #ifdef USE_GCC_PRAGMAS #pragma implementation #endif #include <stdio.h> #include <stddef.h> #include <stdarg.h> #include "GlobalParams.h" #include "Error.h" void CDECL error(int pos, char *msg, ...) { va_list args; // NB: this can be called before the globalParams object is created if (globalParams && globalParams->getErrQuiet()) { return; } if (pos >= 0) { fprintf(stderr, "Error (%d): ", pos); } else { fprintf(stderr, "Error: "); } va_start(args, msg); vfprintf(stderr, msg, args); va_end(args); fprintf(stderr, "\n"); fflush(stderr); }
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pdf2json-0.2.0 | pdf2json-0.52-source/xpdf/Error.cc |
pdf2json-0.1.0 | pdf2json-0.52-source/xpdf/Error.cc |