summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/luatexdir/lua/luatex-api.h
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2014-02-03 13:01:31 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2014-02-03 13:01:31 +0000
commit4dc568b1e2c01476f34b6c014da3bc487b71aacf (patch)
treea6a389e1a3915bdc1b618eb2aeae27fd7f21b68a /Build/source/texk/web2c/luatexdir/lua/luatex-api.h
parent4a985ab4153e6ba130b801d4cec60709b0a44e47 (diff)
Import LuaTeX snapshot 0.78.3
git-svn-id: svn://tug.org/texlive/trunk@32854 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/web2c/luatexdir/lua/luatex-api.h')
-rw-r--r--Build/source/texk/web2c/luatexdir/lua/luatex-api.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/luatexdir/lua/luatex-api.h b/Build/source/texk/web2c/luatexdir/lua/luatex-api.h
index d29049d1624..dcccf233fbe 100644
--- a/Build/source/texk/web2c/luatexdir/lua/luatex-api.h
+++ b/Build/source/texk/web2c/luatexdir/lua/luatex-api.h
@@ -17,7 +17,7 @@
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-api.h 4612 2013-03-25 09:15:18Z taco $ */
+/* $Id: luatex-api.h 4718 2014-01-02 15:35:31Z taco $ */
#ifndef LUATEX_API_H
# define LUATEX_API_H 1
@@ -28,6 +28,9 @@
# include "lua.h"
# include "lauxlib.h"
# include "lualib.h"
+#ifdef LuajitTeX
+# include "luajit.h"
+#endif
#ifdef __cplusplus
extern "C" {
@@ -126,6 +129,9 @@ extern void dump_luac_registers(void);
extern void undump_luac_registers(void);
extern int lua_only;
+#ifdef LuajitTeX
+extern int luajiton;
+#endif
extern void unhide_lua_table(lua_State * lua, const char *name, int r);
extern int hide_lua_table(lua_State * lua, const char *name);