Class: Spoon::LibC::PointerConverter
- Inherits:
-
Object
- Object
- Spoon::LibC::PointerConverter
- Extended by:
- FFI::DataConverter
- Defined in:
- lib/spoon/unix.rb
Class Method Summary collapse
Class Method Details
.to_native(value, ctx) ⇒ Object
147 148 149 |
# File 'lib/spoon/unix.rb', line 147 def self.to_native(value, ctx) value ? value.pointer : nil end |