Method: Frusdl::SDL::Screen.wrap
- Defined in:
- lib/frusdl/sdl/screen.rb
.wrap(ptr) ⇒ Object
Wraps a low level ponter in a higher level struct
19 20 21 |
# File 'lib/frusdl/sdl/screen.rb', line 19 def self.wrap(ptr) return Frusdl::Low::SDL::SDL_Surface.new(ptr) end |