projects
/
ruby-vorbistagger.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Made Ogg::Vorbis::Tagger#close return nil.
[ruby-vorbistagger.git]
/
ext
/
ext.c
diff --git
a/ext/ext.c
b/ext/ext.c
index 6a45359772e325ff0ca6c75f8a265917cb77df76..46ce0d178d1090296f6a74b16e29b205e692c706 100644
(file)
--- a/
ext/ext.c
+++ b/
ext/ext.c
@@
-142,9
+142,11
@@
c_init (VALUE self, VALUE filename)
/*
* call-seq:
/*
* 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)
*/
static VALUE
c_close (VALUE self)
@@
-158,7
+160,7
@@
c_close (VALUE self)
vcedit_state_unref (o->state);
o->state = NULL;
vcedit_state_unref (o->state);
o->state = NULL;
- return
self
;
+ return
Qnil
;
}
/*
}
/*