/**
 *  call-seq:
 *    Rev::Buffer#clear -> nil
 * 
 * Clear all data from the Rev::Buffer
 */
static VALUE Rev_Buffer_clear(VALUE self)
{
  struct buffer *buf;
  Data_Get_Struct(self, struct buffer, buf);

  buffer_clear(buf);

  return Qnil;
}