Browse Source

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

Roberto Ierusalimschy 12 years ago
parent
commit
70b0ee6310
1 changed files with 6 additions and 1 deletions
  1. 6 1
      lua.h

+ 6 - 1
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