diff options
| author | ruki <[email protected]> | 2023-10-12 22:46:20 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-10-12 22:46:20 +0800 |
| commit | 09ad995e7113f2273b5e441905a914198e23927b (patch) | |
| tree | 0b88d1b20bfbfda75aa52d0ec26ae2f6f2ad86dd /xmake/includes/check_cfuncs.lua | |
| parent | 9449c51bf2e709ba7807093a6876cf4eadf9fbac (diff) | |
rename interp interfaces
Diffstat (limited to 'xmake/includes/check_cfuncs.lua')
| -rw-r--r-- | xmake/includes/check_cfuncs.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/includes/check_cfuncs.lua b/xmake/includes/check_cfuncs.lua index 98f47a4ad..a7a2cfb22 100644 --- a/xmake/includes/check_cfuncs.lua +++ b/xmake/includes/check_cfuncs.lua @@ -34,7 +34,7 @@ function check_cfuncs(definition, funcs, opt) opt = opt or {} local optname = opt.name or ("__" .. definition) - save_scope() + interp_save_scope() option(optname) set_showmenu(false) add_cfuncs(funcs) @@ -61,7 +61,7 @@ function check_cfuncs(definition, funcs, opt) set_warnings(opt.warnings) end option_end() - restore_scope() + interp_restore_scope() add_options(optname) end @@ -78,7 +78,7 @@ function configvar_check_cfuncs(definition, funcs, opt) opt = opt or {} local optname = opt.name or ("__" .. definition) local defname, defval = table.unpack(definition:split('=')) - save_scope() + interp_save_scope() option(optname) set_showmenu(false) add_cfuncs(funcs) @@ -107,7 +107,7 @@ function configvar_check_cfuncs(definition, funcs, opt) set_warnings(opt.warnings) end option_end() - restore_scope() + interp_restore_scope() if opt.default == nil then add_options(optname) else |
