Object
Returns a [ String, Pointer ] tuple so the C memory for the string can be freed
# File lib/ffi/types.rb, line 128 def self.from_native(val, ctx) [ val.null? ? nil : val.get_string(0), val ] end