Class: TCOD::TCODValueT
- Inherits:
-
MethodUnion
- Object
- FFI::Union
- MethodUnion
- TCOD::TCODValueT
- Defined in:
- lib/libtcod/bindings.rb
Instance Method Summary collapse
Methods inherited from MethodUnion
Instance Method Details
#s ⇒ Object
359 360 361 |
# File 'lib/libtcod/bindings.rb', line 359 def s @s.get_string(0) end |
#s=(str) ⇒ Object
355 356 357 358 |
# File 'lib/libtcod/bindings.rb', line 355 def s=(str) @s = FFI::MemoryPointer.from_string(str) self[:s] = @s end |