diff options
| author | ruki <[email protected]> | 2017-07-05 20:48:55 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-07-05 20:48:55 +0800 |
| commit | 6e0271d2e38f9b4d48ec271af225f71a0faa4f49 (patch) | |
| tree | 3411187f6d73ad5d0e254aa9d681ea94e7ce9915 /xmake/modules/lib | |
| parent | a8d5da851d1d469587adea086c65d61ae20c50ef (diff) | |
rename has_cxsnippets to check_vxsnippets
Diffstat (limited to 'xmake/modules/lib')
| -rw-r--r-- | xmake/modules/lib/detect/check_cxsnippets.lua (renamed from xmake/modules/lib/detect/has_cxsnippets.lua) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/modules/lib/detect/has_cxsnippets.lua b/xmake/modules/lib/detect/check_cxsnippets.lua index 59ef12872..812d55c08 100644 --- a/xmake/modules/lib/detect/has_cxsnippets.lua +++ b/xmake/modules/lib/detect/check_cxsnippets.lua @@ -19,7 +19,7 @@ -- Copyright (C) 2015 - 2017, TBOOX Open Source Group. -- -- @author ruki --- @file has_csnippets.lua +-- @file check_cxsnippets.lua -- -- imports @@ -113,7 +113,7 @@ function _sourcecode(snippets, opt) return sourcecode end --- has the given c snippets? +-- check the given c snippets? -- -- @param snippets the snippets -- @param opt the argument options @@ -130,8 +130,8 @@ end -- @return true or false -- -- @code --- local ok = has_csnippets("void test() {}") --- local ok = has_csnippets({"void test(){}", "#define TEST 1"}, {types = "wchar_t", includes = "stdio.h"}) +-- local ok = check_cxsnippets("void test() {}") +-- local ok = check_cxsnippets({"void test(){}", "#define TEST 1"}, {types = "wchar_t", includes = "stdio.h"}) -- @endcode -- function main(snippets, opt) |
