Created
November 1, 2019 06:50
-
-
Save netbrain/02d298582744eec763b86f746cbdc791 to your computer and use it in GitHub Desktop.
cgo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// A []C.int64_t slice backed by C memory. | |
// See: https://github.com/golang/go/wiki/cgo#turning-c-arrays-into-go-slices | |
// Using [1<<27] instead of [1<<30] so it works on 32-bit architecture |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment