通过CFStringRef Pointer到MacRuby的C功能
原文:Passing a CFStringRef pointer to a C function in MacRuby
原文:Passing a CFStringRef pointer to a C function in MacRuby
I wanted to call the following function from OS X s DVDPlayback framework: OSStatus DVDGetMediaVolumeCFName ( CFStringRef *outDiscVolumeCFName ); Eventually, I came up with the following working ...