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

CFStringGetCStringPtr() sometimes returns null - fix by using CFStringGetCString() #2

Merged
merged 1 commit into from Jun 6, 2013

Conversation

ghost
Copy link

@ghost ghost commented Dec 26, 2012

...verflow.com/questions/9166291/converting-a-cfstringref-to-char/9166500#9166500)

@arirusso
Copy link
Owner

@wmeissner Thanks, I'll test tonight

cc: @freepoulite

@adamjmurray
Copy link

+1

UniMIDI is causing Ruby to segfault in my project. I found this pull request and applied it to my local copy of ffi-coremidi, and it fixed the problem.

This also fixed someone's problem on stack overflow: http://stackoverflow.com/questions/14030213/ffi-null-pointer-error-with-unimidi

I can monkey patch ffi-coremidi in my project until this is released.

@arirusso
Copy link
Owner

arirusso commented Jun 5, 2013

@adamjmurray Lost track of this-- will merge later today. Thanks for the heads up!!

arirusso added a commit that referenced this pull request Jun 6, 2013
CFStringGetCStringPtr() sometimes returns null - fix by using CFStringGetCString()
@arirusso arirusso merged commit 77b11f5 into arirusso:master Jun 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants