new beta-0.90.0
[luatex.git] / source / texk / web2c / luatexdir / luafontloader / src / ffdummies.h
blob951df818cf16d3c52d69f8dc09a328d1a49cef21
1 /* ffdummies.c
3 Copyright 2015 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/>. */
20 #ifndef _FFDUMMIES_H
21 #define _FFDUMMIES_H
23 #include "uiinterface.h"
24 #include "fontforgevw.h"
25 #include "splinefont.h"
26 #include <stdio.h>
27 #include <basics.h>
28 #include <ustring.h>
30 #include <lua.h>
31 #ifdef LuajitTeX
32 #include <lua/lauxlib_bridge.h>
33 #else
34 #include <lauxlib.h>
35 #endif
36 #include <lua/luatex-api.h>
37 #include <locale.h>
39 /* fix for non-gcc compilation: */
40 #if !defined(__GNUC__) || (__GNUC__ < 2)
41 # define __attribute__(x)
42 #endif /* !defined(__GNUC__) || (__GNUC__ < 2) */
44 extern char **gww_errors;
45 extern int gww_error_count;
46 extern void gwwv_errors_free(void);
47 extern struct ui_interface luaui_interface;
49 extern int readbinfile(FILE * f, unsigned char **b, int *s);
51 extern char *SaveTablesPref;
52 extern char *coord_sep;
54 #endif /* _FFDUMMIES_H */