beta-0.89.2
[luatex.git] / source / texk / web2c / luatexdir / luatex-common.h
blob073d6ad1c5bce1e18561b74ca9c44c3f6c590c80
1 /* luatex-common.h
3 Copyright 1996-2006 Han The Thanh <thanh@pdftex.org>
4 Copyright 2006-2012 Taco Hoekwater <taco@luatex.org>
5 This file is part of LuaTeX.
7 LuaTeX is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free
9 Software Foundation; either version 2 of the License, or (at your
10 option) any later version.
12 LuaTeX is distributed in the hope that it will be useful, but WITHOUT
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
15 License for more details.
17 You should have received a copy of the GNU General Public License along
18 with LuaTeX; if not, see <http://www.gnu.org/licenses/>. */
21 /* This file contains declarations used in C code as well as in C++ code.
24 #ifndef LUATEX_COMMON_H
25 # define LUATEX_COMMON_H
27 /* utils.c */
29 extern void tex_error(const char *msg, const char **hlp);
30 extern void normal_error(const char *t, const char *p);
31 extern void normal_warning(const char *t, const char *p);
32 extern void formatted_error(const char *t, const char *fmt, ...);
33 extern void formatted_warning(const char *t, const char *fmt, ...);
35 #endif /* LUATEX_COMMON_H */