summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2023-03-18 00:40:10 +0800
committerruki <[email protected]>2023-03-18 00:40:10 +0800
commit2330f270a9fad2dfd8ec96227cd4d71c3dcbcfd8 (patch)
treed532801b5be9fc9634d344e09caf9625ff135b45
parent21f980d98c09362721ccd48f42a6fa5508cf4375 (diff)
fix comments
-rw-r--r--xmake/core/package/package.lua18
-rw-r--r--xmake/core/project/target.lua18
2 files changed, 18 insertions, 18 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index 48cf97b04..13b3d1660 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -2088,7 +2088,7 @@ end
-- has the given c funcs?
--
-- @param funcs the funcs
--- @param opt the argument options, e.g. { includes = ""}
+-- @param opt the argument options, e.g. {includes = "xxx.h", configs = {defines = ""}}
--
-- @return true or false, errors
--
@@ -2102,7 +2102,7 @@ end
-- has the given c++ funcs?
--
-- @param funcs the funcs
--- @param opt the argument options, e.g. {includes = ""}
+-- @param opt the argument options, e.g. {includes = "xxx.h", configs = {defines = ""}}
--
-- @return true or false, errors
--
@@ -2116,7 +2116,7 @@ end
-- has the given c types?
--
-- @param types the types
--- @param opt the argument options, e.g. { defines = ""}
+-- @param opt the argument options, e.g. {configs = {defines = ""}}
--
-- @return true or false, errors
--
@@ -2129,8 +2129,8 @@ end
-- has the given c++ types?
--
--- @param types the types
--- @param opt the argument options, e.g. { defines = ""}
+-- @param types the types
+-- @param opt the argument options, e.g. {configs = {defines = ""}}
--
-- @return true or false, errors
--
@@ -2144,7 +2144,7 @@ end
-- has the given c includes?
--
-- @param includes the includes
--- @param opt the argument options, e.g. { defines = ""}
+-- @param opt the argument options, e.g. {configs = {defines = ""}}
--
-- @return true or false, errors
--
@@ -2158,7 +2158,7 @@ end
-- has the given c++ includes?
--
-- @param includes the includes
--- @param opt the argument options, e.g. { defines = ""}
+-- @param opt the argument options, e.g. {configs = {defines = ""}}
--
-- @return true or false, errors
--
@@ -2209,7 +2209,7 @@ end
-- check the given c snippets?
--
-- @param snippets the snippets
--- @param opt the argument options, e.g. { includes = ""}
+-- @param opt the argument options, e.g. {includes = "xxx.h", configs = {defines = ""}}
--
-- @return true or false, errors
--
@@ -2223,7 +2223,7 @@ end
-- check the given c++ snippets?
--
-- @param snippets the snippets
--- @param opt the argument options, e.g. { includes = ""}
+-- @param opt the argument options, e.g. {includes = "xxx.h", configs = {defines = ""}}
--
-- @return true or false, errors
--
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua
index 549f18301..c1764ff0f 100644
--- a/xmake/core/project/target.lua
+++ b/xmake/core/project/target.lua
@@ -2255,7 +2255,7 @@ end
-- has the given c funcs?
--
-- @param funcs the funcs
--- @param opt the argument options, e.g. { includes = ""}
+-- @param opt the argument options, e.g. {includes = "xxx.h", configs = {defines = ""}}
--
-- @return true or false, errors
--
@@ -2268,7 +2268,7 @@ end
-- has the given c++ funcs?
--
-- @param funcs the funcs
--- @param opt the argument options, e.g. { includes = ""}
+-- @param opt the argument options, e.g. {includes = "xxx.h", configs = {defines = ""}}
--
-- @return true or false, errors
--
@@ -2281,7 +2281,7 @@ end
-- has the given c types?
--
-- @param types the types
--- @param opt the argument options, e.g. { defines = ""}
+-- @param opt the argument options, e.g. {configs = {defines = ""}}
--
-- @return true or false, errors
--
@@ -2293,8 +2293,8 @@ end
-- has the given c++ types?
--
--- @param types the types
--- @param opt the argument options, e.g. { defines = ""}
+-- @param types the types
+-- @param opt the argument options, e.g. {configs = {defines = ""}}
--
-- @return true or false, errors
--
@@ -2307,7 +2307,7 @@ end
-- has the given c includes?
--
-- @param includes the includes
--- @param opt the argument options, e.g. { defines = ""}
+-- @param opt the argument options, e.g. {configs = {defines = ""}}
--
-- @return true or false, errors
--
@@ -2320,7 +2320,7 @@ end
-- has the given c++ includes?
--
-- @param includes the includes
--- @param opt the argument options, e.g. { defines = ""}
+-- @param opt the argument options, e.g. {configs = {defines = ""}}
--
-- @return true or false, errors
--
@@ -2370,7 +2370,7 @@ end
-- check the given c snippets?
--
-- @param snippets the snippets
--- @param opt the argument options, e.g. { includes = ""}
+-- @param opt the argument options, e.g. {includes = "xxx.h", configs = {defines = ""}}
--
-- @return true or false, errors
--
@@ -2383,7 +2383,7 @@ end
-- check the given c++ snippets?
--
-- @param snippets the snippets
--- @param opt the argument options, e.g. { includes = ""}
+-- @param opt the argument options, e.g. {includes = "xxx.h", configs = {defines = ""}}
--
-- @return true or false, errors
--