diff --git a/README.md b/README.md index ff589f9c..82dcdf60 100644 --- a/README.md +++ b/README.md @@ -180,7 +180,7 @@ cJSON CJSON cJSON_Hooks Hooks cJSON_bool Bool ``` - You can customize these type mappings by editing this file (see [Customizing Bindings](#type-customization)). +You can customize these type mappings by editing this file (see [Customizing Bindings](#type-customization)). ### Customizing Bindings #### Function Customization diff --git a/doc/en/dev/llcppcfg.md b/doc/en/dev/llcppcfg.md index ce2ce45c..9588cfd8 100644 --- a/doc/en/dev/llcppcfg.md +++ b/doc/en/dev/llcppcfg.md @@ -2,7 +2,7 @@ The llcppg core configuration file, `llcppg.cfg`, can be complex and error-prone to configure. This is because it requires a deep understanding of the project structure and compilation details. We have designed llcppcfg to automatically generate the basic `llcppg.cfg` configuration file for users. It greatly simplifies the configuration process, allowing users to simply provide the target library's name as input. The tool then generates corresponding configuration content based on established rules or templates. # Basic Usage -`llcppcfg [options] ` +`llcppcfg [options] ` ## Example of Generating Configuration File `llcppcfg cjson` diff --git a/doc/en/dev/llcppg.md b/doc/en/dev/llcppg.md index ee70c63d..3bb86ad0 100644 --- a/doc/en/dev/llcppg.md +++ b/doc/en/dev/llcppg.md @@ -596,8 +596,8 @@ xmlChar * xsltGetNsProp(xmlNodePtr node, const xmlChar *name, const xmlChar *nam If `xmlChar` and `xmlNodePtr` mappings are not found (not declare `llcppg-libxml` in `deps`), llcppg will notify the user of these missing types and indicate they are from `libxml2` header files. The corresponding notification would be: ```bash -convert /path/to/include/libxml2/libxml/xmlstring.h first, declare its converted package in `llcppg.cfg` deps for load [xmlChar]. -convert /path/to/libxml2/libxml/tree.h first, declare its converted package in `llcppg.cfg` deps for load [xmlNodePtr]. +convert /path/to/include/libxml2/libxml/xmlstring.h first, declare its converted package in `llcppg.cfg` deps to load [xmlChar]. +convert /path/to/libxml2/libxml/tree.h first, declare its converted package in `llcppg.cfg` deps to load [xmlNodePtr]. ``` For this project, `llcppg` will automatically handle type references to libxml2. During the process, `llcppg` uses the `llcppg.pub` file from the generated libxml2 package to ensure type consistency. @@ -728,7 +728,7 @@ The configuration file supports the following options: - `typeMap`: Custom name mapping from C types to Go types. - `symMap`: Custom name mapping from C function names to Go function names. - `staticLib`: Set to true to enable static library symbol reading instead of dynamic library linking. When enabled, llcppg will read symbols from static libraries (.a files) rather than dynamic libraries (.so/.dylib files). -- `headerOnly`: Set to true to ​​skip the symbol intersection process​​ described in [step 3](#llcppsymg). +- `headerOnly`: Set to true to skip the symbol intersection process described in [step 3](#llcppsymg). ## Output