change in 'LUAI_DDEC' to allow variables to be static in 'onelua'

+ change in 'LUAMOD_API' as opening functions do not need to be global
This commit is contained in:
Roberto Ierusalimschy
2018-06-18 09:51:05 -03:00
parent af70905246
commit b43300c14f
4 changed files with 17 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lctype.h,v 1.11 2011/06/27 18:22:46 roberto Exp roberto $
** $Id: lctype.h,v 1.12 2011/07/15 12:50:29 roberto Exp roberto $
** 'ctype' functions for Lua
** See Copyright Notice in lua.h
*/
@@ -68,7 +68,7 @@
/* two more entries for 0 and -1 (EOZ) */
LUAI_DDEC const lu_byte luai_ctype_[UCHAR_MAX + 2];
LUAI_DDEC(const lu_byte luai_ctype_[UCHAR_MAX + 2];)
#else /* }{ */