Class: RbSDL2::Palette::PalettePointer

Inherits:
RefCountPointer show all
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_classObject



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)