From 070eedda186df7821d8715f3783685d265bbcbc4 Mon Sep 17 00:00:00 2001 From: xushiwei Date: Tue, 9 Jul 2024 00:43:45 +0800 Subject: [PATCH] README: c libraries --- README.md | 4 +++- c/inih/_demo/{ => inihdemo}/config.ini | 0 c/inih/_demo/{inihHello.go => inihdemo/inihdemo.go} | 1 - 3 files changed, 3 insertions(+), 2 deletions(-) rename c/inih/_demo/{ => inihdemo}/config.ini (100%) rename c/inih/_demo/{inihHello.go => inihdemo/inihdemo.go} (99%) diff --git a/README.md b/README.md index 7b375e99..9155c2ea 100644 --- a/README.md +++ b/README.md @@ -171,7 +171,9 @@ The currently supported libraries include: * [c/bdwgc](https://pkg.go.dev/github.com/goplus/llgo/c/bdwgc) * [c/cjson](https://pkg.go.dev/github.com/goplus/llgo/c/cjson) * [c/clang](https://pkg.go.dev/github.com/goplus/llgo/c/clang) +* [c/inih](https://pkg.go.dev/github.com/goplus/llgo/c/inih) * [c/llama2](https://pkg.go.dev/github.com/goplus/llgo/c/llama2) +* [c/lua](https://pkg.go.dev/github.com/goplus/llgo/c/lua) * [c/raylib](https://pkg.go.dev/github.com/goplus/llgo/c/raylib) * [c/sqlite](https://pkg.go.dev/github.com/goplus/llgo/c/sqlite) * [c/zlib](https://pkg.go.dev/github.com/goplus/llgo/c/zlib) @@ -186,7 +188,7 @@ Here are some examples related to them: ## Go syntax support -All Go syntax is already supported. Here are some examples: +All Go syntax (not including `cgo`) is already supported. Here are some examples: * [concat](_demo/concat/concat.go): define a variadic function * [genints](_demo/genints/genints.go): various forms of closure usage (including C function, recv.method and anonymous function) diff --git a/c/inih/_demo/config.ini b/c/inih/_demo/inihdemo/config.ini similarity index 100% rename from c/inih/_demo/config.ini rename to c/inih/_demo/inihdemo/config.ini diff --git a/c/inih/_demo/inihHello.go b/c/inih/_demo/inihdemo/inihdemo.go similarity index 99% rename from c/inih/_demo/inihHello.go rename to c/inih/_demo/inihdemo/inihdemo.go index f396324e..66e36d2b 100644 --- a/c/inih/_demo/inihHello.go +++ b/c/inih/_demo/inihdemo/inihdemo.go @@ -41,5 +41,4 @@ func main() { } else { println("Config file parsed successfully") } - }