From b8fed93215a23a3f443c5b0126f0de1725771b44 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Wed, 7 Nov 2018 10:03:05 -0200 Subject: New syntax for to-be-closed variables The new syntax is . The mark '*' allows other attributes to be added later without the need of new keywords; it also allows better error messages. The API function was also renamed ('lua_tobeclosed' -> 'lua_toclose'). --- lua.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua.h') diff --git a/lua.h b/lua.h index 16d685cc..fe468c8e 100644 --- a/lua.h +++ b/lua.h @@ -333,7 +333,7 @@ LUA_API size_t (lua_stringtonumber) (lua_State *L, const char *s); LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud); LUA_API void (lua_setallocf) (lua_State *L, lua_Alloc f, void *ud); -LUA_API void (lua_tobeclosed) (lua_State *L); +LUA_API void (lua_toclose) (lua_State *L); /* -- cgit v1.2.3-55-g6feb