class FFI::Pointer

def write_long(obj)

Write +obj+ as a C long at the memory pointed to.
def write_long(obj)
  put_long(0, obj)
end