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
393 394 395 |
# File 'lib/libtcod/bindings.rb', line 393 def name @name.get_string(0) end |
#name=(str) ⇒ Object
389 390 391 392 |
# File 'lib/libtcod/bindings.rb', line 389 def name=(str) @name = FFI::MemoryPointer.from_string(str) self[:name] = @name end |