aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
authorRoberto I <roberto@inf.puc-rio.br>2025-08-20 16:10:54 -0300
committerRoberto I <roberto@inf.puc-rio.br>2025-08-20 16:10:54 -0300
commit06c5d3825f03eafc90b56d43f70f70048b785bc8 (patch)
tree0b418c4a9ac5a53a6ca39bf258bb046de1fc6749 /luaconf.h
parentc345877e4c2588324d9a1e5655e8f48200ba2e5e (diff)
downloadlua-06c5d3825f03eafc90b56d43f70f70048b785bc8.tar.gz
lua-06c5d3825f03eafc90b56d43f70f70048b785bc8.tar.bz2
lua-06c5d3825f03eafc90b56d43f70f70048b785bc8.zip
Removed code for compatibility with version 5.3
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h27
1 files changed, 1 insertions, 26 deletions
diff --git a/luaconf.h b/luaconf.h
index 0adc9c13..56d29165 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -362,35 +362,12 @@
362 362
363 363
364/* 364/*
365@@ LUA_COMPAT_5_3 controls other macros for compatibility with Lua 5.3.
366** You can define it to get all options, or change specific options
367** to fit your specific needs.
368*/
369#if defined(LUA_COMPAT_5_3) /* { */
370
371/*
372@@ LUA_COMPAT_MATHLIB controls the presence of several deprecated 365@@ LUA_COMPAT_MATHLIB controls the presence of several deprecated
373** functions in the mathematical library. 366** functions in the mathematical library.
374** (These functions were already officially removed in 5.3; 367** (These functions were already officially removed in 5.3;
375** nevertheless they are still available here.) 368** nevertheless they are still available here.)
376*/ 369*/
377#define LUA_COMPAT_MATHLIB 370/* #define LUA_COMPAT_MATHLIB */
378
379/*
380@@ LUA_COMPAT_APIINTCASTS controls the presence of macros for
381** manipulating other integer types (lua_pushunsigned, lua_tounsigned,
382** luaL_checkint, luaL_checklong, etc.)
383** (These macros were also officially removed in 5.3, but they are still
384** available here.)
385*/
386#define LUA_COMPAT_APIINTCASTS
387
388
389/*
390@@ LUA_COMPAT_LT_LE controls the emulation of the '__le' metamethod
391** using '__lt'.
392*/
393#define LUA_COMPAT_LT_LE
394 371
395 372
396/* 373/*
@@ -407,8 +384,6 @@
407#define lua_equal(L,idx1,idx2) lua_compare(L,(idx1),(idx2),LUA_OPEQ) 384#define lua_equal(L,idx1,idx2) lua_compare(L,(idx1),(idx2),LUA_OPEQ)
408#define lua_lessthan(L,idx1,idx2) lua_compare(L,(idx1),(idx2),LUA_OPLT) 385#define lua_lessthan(L,idx1,idx2) lua_compare(L,(idx1),(idx2),LUA_OPLT)
409 386
410#endif /* } */
411
412/* }================================================================== */ 387/* }================================================================== */
413 388
414 389