command
Version:
v0.2.2
Opens a new window with list of versions in this module.
Published: Nov 11, 2024
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
これは何?
cgoにてC側で構造体を定義して利用する場合
struct A { ... };
と
typedef struct A TA;
では、Go側での宣言で指定する型が異なるというサンプルです。
struct A { ... };
とした場合は
var a C.struct_(構造体名)
と宣言します。
typedef struct A TA;
とした場合は
var ta C.TA
と宣言します。
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.