Class: Crabstone::Binding::Instruction
- Inherits:
-
FFI::ManagedStruct
- Object
- FFI::ManagedStruct
- Crabstone::Binding::Instruction
- Defined in:
- lib/crabstone.rb
Class Method Summary collapse
Class Method Details
.release(ptr) ⇒ Object
216 217 218 219 220 |
# File 'lib/crabstone.rb', line 216 def self.release(ptr) detail_ptr = ptr.+(Instruction.offset_of(:detail)).read_ptr Binding.free(detail_ptr) Binding.free(ptr) end |