From 0de6b8970950b9d44c10be9a457463de623ebf08 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 22 May 2018 23:17:06 +0800 Subject: modify docs --- manual.md | 3 +-- zh/manual.md | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/manual.md b/manual.md index bcef3728..5be2fcaf 100644 --- a/manual.md +++ b/manual.md @@ -1986,8 +1986,7 @@ add_shflags("xxx") target("demo") -- 设置和启用config.h - set_config_h("$(buildir)/config.h") - set_config_h_prefix("TEST") + set_config_header("$(buildir)/config.h", {prefix = "TEST"}) -- 仅通过参数一设置模块名前缀 add_cfunc("libc", nil, nil, {"sys/select.h"}, "select") diff --git a/zh/manual.md b/zh/manual.md index 4745a2f8..75b334e9 100644 --- a/zh/manual.md +++ b/zh/manual.md @@ -2006,8 +2006,7 @@ add_shflags("xxx") target("demo") -- 设置和启用config.h - set_config_h("$(buildir)/config.h") - set_config_h_prefix("TEST") + set_config_header("$(buildir)/config.h", {prefix = "TEST"}) -- 仅通过参数一设置模块名前缀 add_cfunc("libc", nil, nil, {"sys/select.h"}, "select") -- cgit v1.2.3