Class: SDL::Mixer::Music

Inherits:
NiceFFI::OpaqueStruct
  • Object
show all
Defined in:
lib/ruby-sdl-ffi/mixer.rb

Class Method Summary collapse

Class Method Details

.release(pointer) ⇒ Object

– Mix_Music struct (in C) has a hidden layout, which changes depending on which sound format libraries were available at compile time. ++



84
85
86
# File 'lib/ruby-sdl-ffi/mixer.rb', line 84

def self.release( pointer )
  SDL::Mixer.FreeMusic( pointer )
end