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