27.C_string_list

command
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2025 License: MIT Imports: 3 Imported by: 0

README

これは何?

C言語の文字列のリスト、つまり **char を cgo で扱うサンプルです。

**char[]*C.char に変換してから、各要素を C.GoString() します。

[]*C.char への変換には unsafe.Slice() が使えます。(Go 1.17以降)

参考情報

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL