class FFI::StructLayout::Enum
def get(ptr)
-
(Object)
-
Parameters:
-
ptr
(AbstractMemory
) -- pointer on a {Struct}
def get(ptr) type.find(ptr.get_int(offset)) end
(Object)
-
ptr
(AbstractMemory
)
-- pointer on a {Struct}
def get(ptr) type.find(ptr.get_int(offset)) end