Module: Keyutils::Lib::NonnegativeOrErrorLongConverter
- Extended by:
- FFI::DataConverter
- Defined in:
- lib/keyutils/lib.rb
Class Method Summary collapse
Class Method Details
.from_native(val, ctx) ⇒ Object
165 166 167 168 |
# File 'lib/keyutils/lib.rb', line 165 def self.from_native val, ctx fail SystemCallError, FFI.errno, caller if val == -1 super end |