summaryrefslogtreecommitdiff
path: root/xmake/core/package
diff options
context:
space:
mode:
authorruki <[email protected]>2021-09-25 21:57:16 +0800
committerruki <[email protected]>2021-09-25 21:57:16 +0800
commit697d7cc20e1e2914e72e396cf3158d9893a04e66 (patch)
tree37aa610373d521a5768ab53bf8fe8f5bd925724f /xmake/core/package
parent50eeea59ecee08e93e2c69929d12fa6953b92855 (diff)
improve error tips for package
Diffstat (limited to 'xmake/core/package')
-rw-r--r--xmake/core/package/package.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index 8b7e26806..4b3432246 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -1485,7 +1485,7 @@ end
-- @param funcs the funcs
-- @param opt the argument options, e.g. { includes = ""}
--
--- @return true or false
+-- @return true or false, errors
--
function _instance:has_cfuncs(funcs, opt)
opt = opt or {}
@@ -1499,7 +1499,7 @@ end
-- @param funcs the funcs
-- @param opt the argument options, e.g. {includes = ""}
--
--- @return true or false
+-- @return true or false, errors
--
function _instance:has_cxxfuncs(funcs, opt)
opt = opt or {}
@@ -1513,7 +1513,7 @@ end
-- @param types the types
-- @param opt the argument options, e.g. { defines = ""}
--
--- @return true or false
+-- @return true or false, errors
--
function _instance:has_ctypes(types, opt)
opt = opt or {}
@@ -1527,7 +1527,7 @@ end
-- @param types the types
-- @param opt the argument options, e.g. { defines = ""}
--
--- @return true or false
+-- @return true or false, errors
--
function _instance:has_cxxtypes(types, opt)
opt = opt or {}
@@ -1541,7 +1541,7 @@ end
-- @param includes the includes
-- @param opt the argument options, e.g. { defines = ""}
--
--- @return true or false
+-- @return true or false, errors
--
function _instance:has_cincludes(includes, opt)
opt = opt or {}
@@ -1555,7 +1555,7 @@ end
-- @param includes the includes
-- @param opt the argument options, e.g. { defines = ""}
--
--- @return true or false
+-- @return true or false, errors
--
function _instance:has_cxxincludes(includes, opt)
opt = opt or {}
@@ -1569,7 +1569,7 @@ end
-- @param snippets the snippets
-- @param opt the argument options, e.g. { includes = ""}
--
--- @return true or false
+-- @return true or false, errors
--
function _instance:check_csnippets(snippets, opt)
opt = opt or {}
@@ -1583,7 +1583,7 @@ end
-- @param snippets the snippets
-- @param opt the argument options, e.g. { includes = ""}
--
--- @return true or false
+-- @return true or false, errors
--
function _instance:check_cxxsnippets(snippets, opt)
opt = opt or {}