Skip to content

Commit

Permalink
don't expose cgo types
Browse files Browse the repository at this point in the history
  • Loading branch information
Achille Roussel committed May 19, 2016
1 parent daf0d88 commit 2ba7c72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CoreFoundation.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func CFRelease(obj CFTypeRef) {
// The CFStringRef type is a reference to a Core Foundation string object.
//
// https://developer.apple.com/library/ios/documentation/CoreFoundation/Reference/CFStringRef/index.html#//apple_ref/c/tdef/CFStringRef
type CFStringRef C.CFStringRef
type CFStringRef unsafe.Pointer

// CFStringCreate takes a Go string as argument and creates a CFString object
// that represents the same content, then returns a reference to the newly
Expand Down

0 comments on commit 2ba7c72

Please sign in to comment.