summaryrefslogtreecommitdiff
path: root/libs/liblua/src/lauxlib.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-04-03 16:49:51 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-04-03 16:49:51 +0300
commit24cc09ca79cf8d53e10e23b1103287f168570899 (patch)
tree2c78d9f116f861cab073d41cd0190e92eccfabc6 /libs/liblua/src/lauxlib.h
parentdd212611826b7c44e8a3c6cd2209b46d7cd03177 (diff)
Revert "liblua: update to 5.4.3"
This reverts commit 875bc74fa5fe083ba0b5c5a785c53ec0f49b9a1b.
Diffstat (limited to 'libs/liblua/src/lauxlib.h')
-rw-r--r--libs/liblua/src/lauxlib.h21
1 files changed, 2 insertions, 19 deletions
diff --git a/libs/liblua/src/lauxlib.h b/libs/liblua/src/lauxlib.h
index 72f70e7d9d..59fef6af13 100644
--- a/libs/liblua/src/lauxlib.h
+++ b/libs/liblua/src/lauxlib.h
@@ -12,7 +12,6 @@
#include <stddef.h>
#include <stdio.h>
-#include "luaconf.h"
#include "lua.h"
@@ -131,10 +130,10 @@ LUALIB_API void (luaL_requiref) (lua_State *L, const char *modname,
(luaL_checkversion(L), luaL_newlibtable(L,l), luaL_setfuncs(L,l,0))
#define luaL_argcheck(L, cond,arg,extramsg) \
- ((void)(luai_likely(cond) || luaL_argerror(L, (arg), (extramsg))))
+ ((void)((cond) || luaL_argerror(L, (arg), (extramsg))))
#define luaL_argexpected(L,cond,arg,tname) \
- ((void)(luai_likely(cond) || luaL_typeerror(L, (arg), (tname))))
+ ((void)((cond) || luaL_typeerror(L, (arg), (tname))))
#define luaL_checkstring(L,n) (luaL_checklstring(L, (n), NULL))
#define luaL_optstring(L,n,d) (luaL_optlstring(L, (n), (d), NULL))
@@ -159,22 +158,6 @@ LUALIB_API void (luaL_requiref) (lua_State *L, const char *modname,
/*
-** Internal assertions for in-house debugging
-*/
-#if !defined(lua_assert)
-
-#if defined LUAI_ASSERT
- #include <assert.h>
- #define lua_assert(c) assert(c)
-#else
- #define lua_assert(c) ((void)0)
-#endif
-
-#endif
-
-
-
-/*
** {======================================================
** Generic Buffer manipulation
** =======================================================