summaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_internal.h
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-03-17 07:48:29 +0100
committerGitHub <noreply@github.com>2017-03-17 07:48:29 +0100
commit0891975ad6c8d6d3e15b20f33b22cf5baca7eb62 (patch)
tree5e34935333741f6376b0a84fa00b3178c584d457 /src/script/lua_api/l_internal.h
parentb52f3005c315da9e55ffa7f1cbd71f2b18c7ba7f (diff)
downloadminetest-0891975ad6c8d6d3e15b20f33b22cf5baca7eb62.tar.gz
minetest-0891975ad6c8d6d3e15b20f33b22cf5baca7eb62.tar.bz2
minetest-0891975ad6c8d6d3e15b20f33b22cf5baca7eb62.zip
[CSM] Add core.get_timeofday & core.get_day_count env calls (#5401)
* [CSM] Add core.get_timeofday & core.get_day_count env calls * [CSM] Add core.get_node_level, core.get_node_max_level, core.find_node_near
Diffstat (limited to 'src/script/lua_api/l_internal.h')
-rw-r--r--src/script/lua_api/l_internal.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/script/lua_api/l_internal.h b/src/script/lua_api/l_internal.h
index c610dc5a3..b7627619e 100644
--- a/src/script/lua_api/l_internal.h
+++ b/src/script/lua_api/l_internal.h
@@ -37,16 +37,6 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define MAP_LOCK_REQUIRED
#define NO_MAP_LOCK_REQUIRED
-/*
-#if (defined(WIN32) || defined(_WIN32_WCE))
- #define NO_MAP_LOCK_REQUIRED
-#else
- #include "profiler.h"
- #define NO_MAP_LOCK_REQUIRED \
- ScopeProfiler nolocktime(g_profiler,"Scriptapi: unlockable time",SPT_ADD)
-#endif
-*/
-
#define GET_ENV_PTR_NO_MAP_LOCK \
ServerEnvironment *env = (ServerEnvironment *)getEnv(L); \
if (env == NULL) \