Deprecate wesnoth.wml_matches_filter
This commit is contained in:
parent
7ee7d6d47c
commit
533206674a
2 changed files with 1 additions and 1 deletions
|
@ -675,6 +675,7 @@ end
|
|||
-- Some C++ functions are deprecated; apply the messages here.
|
||||
-- Note: It must happen AFTER the C++ functions are reassigned above to their new location.
|
||||
-- These deprecated functions will probably never be removed.
|
||||
wesnoth.wml_matches_filter = wesnoth.deprecate_api('wesnoth.wml_matches_filter', 'wml.matches_filter', 1, nil, wml.matches_filter)
|
||||
if wesnoth.kernel_type() == "Game Lua Kernel" then
|
||||
wesnoth.get_variable = wesnoth.deprecate_api('wesnoth.get_variable', 'wml.variables', 1, nil, wesnoth.get_variable)
|
||||
wesnoth.set_variable = wesnoth.deprecate_api('wesnoth.set_variable', 'wml.variables', 1, nil, wesnoth.set_variable)
|
||||
|
|
|
@ -945,7 +945,6 @@ lua_kernel_base::lua_kernel_base()
|
|||
{ "eval_formula", &lua_formula_bridge::intf_eval_formula},
|
||||
{ "name_generator", &intf_name_generator },
|
||||
{ "random", &intf_random },
|
||||
{ "wml_matches_filter", &intf_wml_matches_filter },
|
||||
{ "log", &intf_log },
|
||||
{ "get_image_size", &intf_get_image_size },
|
||||
{ "get_time_stamp", &intf_get_time_stamp },
|
||||
|
|
Loading…
Add table
Reference in a new issue