class FFI::Pointer

def write_int(obj)

Write +obj+ as a C int at the memory pointed to.
def write_int(obj)
  put_int32(0, obj)
end