Class: RbSDL2::Palette::PalettePointer
- Inherits:
-
RefCountPointer
- Object
- FFI::AutoPointer
- RefCountPointer
- RbSDL2::Palette::PalettePointer
- Defined in:
- lib/rb_sdl2/palette.rb
Class Method Summary collapse
Methods inherited from RefCountPointer
dec_ref, inc_ref, offset_of_refcount, #refcount, to_ptr
Class Method Details
.entity_class ⇒ Object
9 |
# File 'lib/rb_sdl2/palette.rb', line 9 def entity_class = ::SDL::Palette |
.release(ptr) ⇒ Object
7 |
# File 'lib/rb_sdl2/palette.rb', line 7 def release(ptr) = ::SDL.FreePalette(ptr) |