cutils

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CStringArray

func CStringArray(lines []string) unsafe.Pointer

CStringArray converts a string slice to a **char, i.e. a C string array This creates a malloc'd array of malloc'd strings, so be sure to free all of them. Note: You will need to manually type cast this to (**C.char)(...)

Types

This section is empty.

Jump to

Keyboard shortcuts

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