summaryrefslogtreecommitdiff
path: root/xmake/plugins/check/checkers/api/target/exceptions.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins/check/checkers/api/target/exceptions.lua')
-rw-r--r--xmake/plugins/check/checkers/api/target/exceptions.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/xmake/plugins/check/checkers/api/target/exceptions.lua b/xmake/plugins/check/checkers/api/target/exceptions.lua
index 551595e7b..e9570a894 100644
--- a/xmake/plugins/check/checkers/api/target/exceptions.lua
+++ b/xmake/plugins/check/checkers/api/target/exceptions.lua
@@ -21,6 +21,7 @@
-- imports
import(".api_checker")
-function main()
- api_checker.check_targets("exceptions", {values = {"none", "cxx", "objc", "no-cxx", "no-objc"}})
+function main(opt)
+ opt = opt or {}
+ api_checker.check_targets("exceptions", table.join(opt, {values = {"none", "cxx", "objc", "no-cxx", "no-objc"}}))
end