Class: SDL::RWops
- Inherits:
-
NiceFFI::Struct
- Object
- NiceFFI::Struct
- SDL::RWops
- Defined in:
- lib/ruby-sdl-ffi/sdl/rwops.rb
Instance Method Summary collapse
- #close ⇒ Object
- #close=(cb) ⇒ Object
- #read ⇒ Object
- #read=(cb) ⇒ Object
- #seek ⇒ Object
- #seek=(cb) ⇒ Object
- #write ⇒ Object
- #write=(cb) ⇒ Object
Instance Method Details
#close ⇒ Object
105 106 107 |
# File 'lib/ruby-sdl-ffi/sdl/rwops.rb', line 105 def close @close end |
#close=(cb) ⇒ Object
100 101 102 103 |
# File 'lib/ruby-sdl-ffi/sdl/rwops.rb', line 100 def close=(cb) @close = cb self[:close] = @close end |
#read ⇒ Object
87 88 89 |
# File 'lib/ruby-sdl-ffi/sdl/rwops.rb', line 87 def read @read end |
#read=(cb) ⇒ Object
82 83 84 85 |
# File 'lib/ruby-sdl-ffi/sdl/rwops.rb', line 82 def read=(cb) @read = cb self[:read] = @read end |
#seek ⇒ Object
78 79 80 |
# File 'lib/ruby-sdl-ffi/sdl/rwops.rb', line 78 def seek @seek end |
#seek=(cb) ⇒ Object
73 74 75 76 |
# File 'lib/ruby-sdl-ffi/sdl/rwops.rb', line 73 def seek=(cb) @seek = cb self[:seek] = @seek end |
#write ⇒ Object
96 97 98 |
# File 'lib/ruby-sdl-ffi/sdl/rwops.rb', line 96 def write @write end |
#write=(cb) ⇒ Object
91 92 93 94 |
# File 'lib/ruby-sdl-ffi/sdl/rwops.rb', line 91 def write=(cb) @write = cb self[:write] = @write end |