class FFI::StructLayout::Enum
def put(ptr, value)
-
(nil)
-
Parameters:
-
value
() --
-
ptr
(AbstractMemory
) -- pointer on a {Struct}
def put(ptr, value) ptr.put_int(offset, type.find(value)) end
(nil)
-
value
(
)
--
ptr
(AbstractMemory
)
-- pointer on a {Struct}
def put(ptr, value) ptr.put_int(offset, type.find(value)) end