summaryrefslogtreecommitdiff
path: root/poppler/Error.h
blob: d307223c5b3d67132cd333e9be23651218e882f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
//========================================================================
//
// Error.h
//
// Copyright 1996-2003 Glyph & Cog, LLC
//
//========================================================================

#ifndef ERROR_H
#define ERROR_H

#ifdef USE_GCC_PRAGMAS
#pragma interface
#endif

#include <stdarg.h>
#include "poppler-config.h"

extern void CDECL error(int pos, char *msg, ...) GCC_PRINTF_FORMAT (2, 3);

void setErrorFunction(void (* f)(int , char *, va_list args));

#endif