Class: TCOD::TCODStructIntT
- Inherits:
-
MethodStruct
- Object
- FFI::Struct
- MethodStruct
- TCOD::TCODStructIntT
- Defined in:
- lib/libtcod/bindings.rb
Instance Method Summary collapse
Methods inherited from MethodStruct
Instance Method Details
#name ⇒ Object
376 377 378 |
# File 'lib/libtcod/bindings.rb', line 376 def name @name.get_string(0) end |
#name=(str) ⇒ Object
372 373 374 375 |
# File 'lib/libtcod/bindings.rb', line 372 def name=(str) @name = FFI::MemoryPointer.from_string(str) self[:name] = @name end |