From 9301cb78a89bd337d70df203644b221b9966c008 Mon Sep 17 00:00:00 2001 From: "Avi Halachmi (:avih)" Date: Sun, 26 Jul 2020 01:10:52 +0300 Subject: [PATCH] lua: change mp.get_env_list() to utils.get_env_list() It's documented (twice) at utils, and logically it's the correct place for it. --- player/lua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/player/lua.c b/player/lua.c index 668552741c..d1badac3b4 100644 --- a/player/lua.c +++ b/player/lua.c @@ -1238,7 +1238,6 @@ static const struct fn_entry main_fns[] = { FN_ENTRY(get_wakeup_pipe), FN_ENTRY(raw_hook_add), FN_ENTRY(raw_hook_continue), - FN_ENTRY(get_env_list), {0} }; @@ -1250,6 +1249,7 @@ static const struct fn_entry utils_fns[] = { FN_ENTRY(getpid), AF_ENTRY(parse_json), AF_ENTRY(format_json), + FN_ENTRY(get_env_list), {0} };