diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-30 10:14:00 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-07-30 10:14:00 +0000 |
commit | 30af7a21451a1ac0d0f46ca95d75caf1a579827b (patch) | |
tree | e21aaa5e71c581f0f2dfec162ff5347d4bddea57 /Build/source/texk/web2c/luatexdir/luatex-common.h | |
parent | de9112a07b48ab6a6f1560d39d8eb5e7df58cda1 (diff) |
luaTeX: One and only one prototype per function
git-svn-id: svn://tug.org/texlive/trunk@27248 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/luatex-common.h')
-rw-r--r-- | Build/source/texk/web2c/luatexdir/luatex-common.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/Build/source/texk/web2c/luatexdir/luatex-common.h b/Build/source/texk/web2c/luatexdir/luatex-common.h new file mode 100644 index 00000000000..a0b34b00476 --- /dev/null +++ b/Build/source/texk/web2c/luatexdir/luatex-common.h @@ -0,0 +1,34 @@ +/* luatex-common.h + + Copyright 1996-2006 Han The Thanh <thanh@pdftex.org> + Copyright 2006-2012 Taco Hoekwater <taco@luatex.org> + This file is part of LuaTeX. + + LuaTeX is free software; you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free + Software Foundation; either version 2 of the License, or (at your + option) any later version. + + LuaTeX is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU General Public License along + with LuaTeX; if not, see <http://www.gnu.org/licenses/>. */ + +/* $Id: luatex-common.h 4054 2011-01-10 19:05:54Z hhenkel $ */ + +/* This file contains declarations used in C code as well as in C++ code. +*/ + +#ifndef LUATEX_COMMON_H +# define LUATEX_COMMON_H + +/* utils.c */ +__attribute__ ((format(printf, 1, 2))) +extern void pdftex_warn(const char *fmt, ...); +__attribute__ ((noreturn, format(printf, 1, 2))) +extern void pdftex_fail(const char *fmt, ...); + +#endif /* LUATEX_COMMON_H */ |