-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Go 1.6 cgo has new rules about passing pointers.
https://github.com/golang/proposal/blob/master/design/12416-cgo-pointers.md
When compiling go-libspotify with 1.6 I'm getting this error:
panic: runtime error: cgo argument has Go pointer to Go pointer
Triggered by this line https://github.com/op/go-libspotify/blob/master/spotify/libspotify.go#L238
err := spError(C.sp_session_create(&session.config, &session.sp_session))
Just to register as I didn't have too much time to looking into this yet.
chriskdon
Metadata
Metadata
Assignees
Labels
No labels