Class: Frusdl::Low::SDL::SDL_Joystick
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Frusdl::Low::SDL::SDL_Joystick
- Defined in:
- lib/frusdl/low/sdl.rb
Class Method Summary collapse
-
.release(ptr) ⇒ Object
The struct is private.
Class Method Details
.release(ptr) ⇒ Object
The struct is private
732 733 734 735 736 |
# File 'lib/frusdl/low/sdl.rb', line 732 def self.release(ptr) if ptr && (!ptr.null?) SDL.SDL_JoystickClose(ptr) end end |