Burgestrand / spotify

Low-level Ruby bindings for libspotify, the official Spotify C API
https://rubygems.org/gems/spotify
Other
146 stars 17 forks source link

Sugar for dealing with libspotify callbacks #20

Open Burgestrand opened 11 years ago

Burgestrand commented 11 years ago

The callbacks are by far the most complex and most annoying part to deal with. You have to take great care to make sure they are not garbage collected while they are needed, and also to make sure they do not make ruby leak memory.