--
-$Id: ChangeLog 60 2005-06-08 16:18:32Z tilman $
+$Id: ChangeLog 61 2005-06-09 17:33:48Z tilman $
++
+2005-06-09 Tilman Sauerbeck (tilman at code-monkey de)
+ * ext/ext.c: Object#to_eet: Don't put the final chunk in a stream
+ again, it's not needed
+
2005-06-08 Tilman Sauerbeck (tilman at code-monkey de)
* ext/ext.c, lib/eet.rb, test/test_basic.rb:
Re-implemented Float#to_eet_chunks in C and switched format to
/*
- * $Id: ext.c 60 2005-06-08 16:18:32Z tilman $
+ * $Id: ext.c 61 2005-06-09 17:33:48Z tilman $
*
* Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de)
*
args[1] = rb_funcall (stream, id_serialize, 0);
chunk = rb_class_new_instance (2, args, cChunk);
- stream = rb_class_new_instance (1, &chunk, cStream);
-
- return rb_funcall (stream, id_serialize, 0);
+ return rb_funcall (chunk, id_serialize, 0);
}
static VALUE