Skip to content
New issue

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

Test using cgocheck=2 and fix compaction_filter test for that #127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JelteF
Copy link
Contributor

@JelteF JelteF commented Jan 31, 2018

Like I mentioned in #120 you can check with cgocheck=2 to find violations of
CGO pointer rules. This enables that on Travis and fixes the test where it was
failing because of it.

Copy link
Collaborator

@jamesbibby jamesbibby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you fix the typo and rebase, then I will approve and merge :)

@@ -30,6 +31,19 @@ func charToByte(data *C.char, len C.size_t) []byte {
return value
}

// cBackedBytes returs a copy of the same byte slice which is backed by
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/returs/returns

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants