Quellcode durchsuchen

fix typo on add_ctypes

xq114 vor 4 Jahren
Ursprung
Commit
4ea5ce14e2

+ 1 - 1
manual/configuration_option.md

@@ -535,7 +535,7 @@ This option will be enabled if the c type is passed, for example:
 ```lua
 option("wchar")
     set_default(false)
-    add_cincludes("wchar_t")
+    add_ctypes("wchar_t")
     add_defines("HAVE_WCHAR")
 
 target("test")

+ 1 - 1
mirror/manual/configuration_option.html

@@ -698,7 +698,7 @@ target("test")
 <p>This option will be enabled if the c type is passed, for example:</p>
 <pre><code class="lang-lua">option("wchar")
     set_default(false)
-    add_cincludes("wchar_t")
+    add_ctypes("wchar_t")
     add_defines("HAVE_WCHAR")
 
 target("test")

+ 1 - 1
mirror/zh-cn/manual/configuration_option.html

@@ -661,7 +661,7 @@ target("test")
 <p>如果c类型检测通过,此选项将被启用,例如:</p>
 <pre><code class="lang-lua">option("wchar")
     set_default(false)
-    add_cincludes("wchar_t")
+    add_ctypes("wchar_t")
     add_defines("HAVE_WCHAR")
 
 target("test")

+ 1 - 1
zh-cn/manual/configuration_option.md

@@ -479,7 +479,7 @@ target("test")
 ```lua
 option("wchar")
     set_default(false)
-    add_cincludes("wchar_t")
+    add_ctypes("wchar_t")
     add_defines("HAVE_WCHAR")
 
 target("test")