/*
* call-seq:
- * object.close -> object
+ * object.close -> nil
*
- * Closes *object* and returns it.
+ * Closes *object*. Further method calls on *object* will raise an
+ * Ogg::Vorbis::Tagger::ClosedStreamError exception.
+ * Returns +nil+.
*/
static VALUE
c_close (VALUE self)
vcedit_state_unref (o->state);
o->state = NULL;
- return self;
+ return Qnil;
}
/*
break;
}
- return rb_funcall (o->comments, id_length, 0);
+ return rb_funcall2 (o->comments, id_length, 0, NULL);
}
/*