Class: ImNodes::SlotInfo
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- ImNodes::SlotInfo
- Defined in:
- lib/imnodes.rb
Class Method Summary collapse
Class Method Details
.create(title, kind) ⇒ Object
92 93 94 95 96 97 |
# File 'lib/imnodes.rb', line 92 def self.create(title, kind) instance = SlotInfo.new instance[:title] = FFI::MemoryPointer.from_string(title) instance[:kind] = kind return instance end |