andelf / go-curl

golang curl(libcurl) binding.
Apache License 2.0
485 stars 131 forks source link

Change the callback interface to comply with cgo pointer rules. #44

Closed madisongh closed 8 years ago

madisongh commented 8 years ago

Rather than resolving go references in the C callback stubs, the C stubs now just pass control to go functions that perform the go-side callbacks.

Fixes #43, and works in the application I've got that is migrating to go 1.6 as well.

andelf commented 8 years ago

thanks