class FFI::StrPtrConverter

def self.from_native(val, ctx)

Returns:
  • (Array(String, Pointer)) -

Parameters:
  • [] () -- ctx
  • val (Pointer) --
def self.from_native(val, ctx)
  [ val.null? ? nil : val.get_string(0), val ]
end