| 1 |
/* ffdummies.c |
| 2 |
|
| 3 |
Copyright 2015 Taco Hoekwater <[email protected]> |
| 4 |
|
| 5 |
This file is part of LuaTeX. |
| 6 |
|
| 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. |
| 11 |
|
| 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. |
| 16 |
|
| 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/>. */ |
| 19 |
|
| 20 |
#ifndef _FFDUMMIES_H |
| 21 |
#define _FFDUMMIES_H |
| 22 |
|
| 23 |
#include "uiinterface.h" |
| 24 |
#include "fontforgevw.h" |
| 25 |
#include "splinefont.h" |
| 26 |
#include <stdio.h> |
| 27 |
#include <basics.h> |
| 28 |
#include <ustring.h> |
| 29 |
|
| 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> |
| 38 |
|
| 39 |
/* fix for non-gcc compilation: */ |
| 40 |
#if !defined(__GNUC__) || (__GNUC__ < 2) |
| 41 |
# define __attribute__(x) |
| 42 |
#endif /* !defined(__GNUC__) || (__GNUC__ < 2) */ |
| 43 |
|
| 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; |
| 48 |
|
| 49 |
extern int readbinfile(FILE * f, unsigned char **b, int *s); |
| 50 |
|
| 51 |
extern char *SaveTablesPref; |
| 52 |
extern char *coord_sep; |
| 53 |
|
| 54 |
#endif /* _FFDUMMIES_H */ |