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
¶
C.CBytes
C.CBytes()
は、GoのスライスをC側のバイト列に変換する。戻り値はunsafe.Pointer
となる。(つまり、(void *))
C.CBytes()
は、内部でmalloc
を呼び出しヒープメモリを確保するので、利用後に必ずC.free()
を呼び出してメモリを解放する必要がある。
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.