From d41c36bf67d6628bccd91697e7f88e55d40d3970 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 3 Dec 2020 10:39:38 -0300 Subject: 'lua_assert' moved from 'lualib.h' to 'lauxlib.h' The macro is useful also in 'lauxlib.c', which does not include 'lualib.h'. Also, the definition was corrected to be "on" when LUAI_ASSERT is defined. --- lualib.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lualib.h') diff --git a/lualib.h b/lualib.h index eb08b530..26255290 100644 --- a/lualib.h +++ b/lualib.h @@ -49,10 +49,4 @@ LUAMOD_API int (luaopen_package) (lua_State *L); LUALIB_API void (luaL_openlibs) (lua_State *L); - -#if !defined(lua_assert) -#define lua_assert(x) ((void)0) -#endif - - #endif -- cgit v1.2.3-55-g6feb