summaryrefslogtreecommitdiff
path: root/xmake/languages/c++/api.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2020-09-25 00:33:07 +0800
committerruki <[email protected]>2020-09-25 00:33:07 +0800
commit90af4956738036172984f068502624bbc515cae7 (patch)
tree7cd7177becaf98e676ae8eaa478f042e14505d3a /xmake/languages/c++/api.lua
parent700f08a7bae11c22295f884610f98b7b99eb1790 (diff)
fix trailing white-space
Diffstat (limited to 'xmake/languages/c++/api.lua')
-rw-r--r--xmake/languages/c++/api.lua12
1 files changed, 6 insertions, 6 deletions
diff --git a/xmake/languages/c++/api.lua b/xmake/languages/c++/api.lua
index 98f5c1ec3..1c33983a7 100644
--- a/xmake/languages/c++/api.lua
+++ b/xmake/languages/c++/api.lua
@@ -11,7 +11,7 @@
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.
---
+--
-- Copyright (C) 2015-2020, TBOOX Open Source Group.
--
-- @author ruki
@@ -85,7 +85,7 @@ function _api_add_cfunc(interp, module, alias, links, includes, func)
-- restore the current scope
interp:scope_restore(scope)
- -- add this option
+ -- add this option
interp:api_call("add_options", name)
end
@@ -139,7 +139,7 @@ function _api_add_cxxfunc(interp, module, alias, links, includes, func)
-- restore the current scope
interp:scope_restore(scope)
- -- add this option
+ -- add this option
interp:api_call("add_options", name)
end
@@ -157,7 +157,7 @@ end
function apis()
-- init apis
- _g.values =
+ _g.values =
{
-- target.set_xxx
"target.set_config_h_prefix" -- deprecated
@@ -234,7 +234,7 @@ function apis()
, "toolchain.add_includedirs"
, "toolchain.add_frameworkdirs"
}
- _g.pathes =
+ _g.pathes =
{
-- target.set_xxx
"target.set_headerdir" -- TODO deprecated
@@ -262,7 +262,7 @@ function apis()
, "option.add_cxxsnippet" -- TODO deprecated
, "option.add_cxxsnippets"
}
- _g.custom =
+ _g.custom =
{
-- target.add_xxx
{"target.add_cfunc", _api_add_cfunc }