# File lib/ffi/struct.rb, line 50
def
put
(
ptr
,
value
)
ptr
.
put_int
(
offset
,
type
.
find
(
value
))
end