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
376 377 378 |
# File 'lib/libtcod/bindings.rb', line 376 def s @s.get_string(0) end |
#s=(str) ⇒ Object
372 373 374 375 |
# File 'lib/libtcod/bindings.rb', line 372 def s=(str) @s = FFI::MemoryPointer.from_string(str) self[:s] = @s end |