From 70b0ee63106e0f66890e76cc7304ded4e9417f90 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 15 Mar 2013 10:04:22 -0300 Subject: [PATCH] export 'lua_ident' to avoid it being removed by C++ linker --- lua.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lua.h b/lua.h index a659f976..7e898918 100644 --- a/lua.h +++ b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.283 2012/04/20 13:18:26 roberto Exp roberto $ +** $Id: lua.h,v 1.284 2013/02/19 18:39:04 roberto Exp roberto $ ** Lua - A Scripting Language ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) ** See Copyright Notice at the end of this file @@ -119,6 +119,11 @@ typedef LUA_UNSIGNED lua_Unsigned; #endif +/* +** RCS ident string +*/ +extern const char lua_ident[]; + /* ** state manipulation