Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToBytePtr ¶
ToBytePtr converts a Go string to a null-terminated C-style string by just appending a null byte, if s doesn't already contain one.
func ToBytePtrNullable ¶
ToBytePtrNullable does the same thing as ToBytePtr, except that an empty string returns nil.
func ToStringSlice ¶
ToStringSlice converts a null-terminated list of C-style strings to a slice of Go strings.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.