浏览代码

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

Roberto Ierusalimschy 12 年之前
父节点
当前提交
70b0ee6310
共有 1 个文件被更改,包括 6 次插入1 次删除
  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