export 'lua_ident' to avoid it being removed by C++ linker

This commit is contained in:
Roberto Ierusalimschy 2013-03-15 10:04:22 -03:00
parent 8830901a9c
commit 70b0ee6310
1 changed files with 6 additions and 1 deletions

7
lua.h
View File

@ -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