We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
func (k *Kvdb) Names() ([]string, error) { var namesc C.uint var namesv **C.char err := C.hse_kvdb_get_names(k.impl, &namesc, &namesv) if err != 0 { return nil, hseErrToErrno(err) } names := make([]string, namesc) for i, s := range (*[limits.KvsCountMax]*C.char)(unsafe.Pointer(namesv))[:namesc:namesc] { names[i] = C.GoString(s) } C.hse_kvdb_free_names(k.impl, namesv) return names, nil }
The text was updated successfully, but these errors were encountered:
Left most pointer Tm scopes:
Right most pointer Tm scopes:
Sorry, something went wrong.
No branches or pull requests
The text was updated successfully, but these errors were encountered: