class FFI::StrPtrConverter
def self.from_native(val, ctx)
-
(Array(String, Pointer))
-
Parameters:
-
ctx
() -- not used
-
val
(Pointer
) --
def self.from_native(val, ctx) [ val.null? ? nil : val.get_string(0), val ] end
(Array(String, Pointer))
-
ctx
(
)
-- not used
val
(Pointer
)
--
def self.from_native(val, ctx) [ val.null? ? nil : val.get_string(0), val ] end