ruby/ext/stringio
nobu e580a631be use 0 for reserved
use 0 for rb_data_type_t::reserved instead of NULL, since its type
may be changed in the future and possibly not a pointer type.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-12-01 06:38:04 +00:00
..
README * ext: remove trailing spaces. 2011-05-22 09:26:02 +00:00
depend * lib/mkmf.rb: Add ruby/ruby.h, ruby/missing.h, ruby/intern.h, 2013-04-13 00:46:29 +00:00
extconf.rb * ext/extmk.rb (MANIFEST): do not use anymore, use extconf.rb instead. 2004-11-01 05:04:04 +00:00
stringio.c use 0 for reserved 2014-12-01 06:38:04 +00:00

README

-*- rd -*-
$Author$

=begin

= StringIO
Pseudo (({IO})) class from/to (({String})).

This library is based on MoonWolf version written in Ruby.  Thanks a lot.

= Differences to (({IO}))

* not implemented: (({fcntl})), (({reopen})).
* (({fileno})) returns nil.
* (({pos=})) returns new position, not 0.
* (({ungetc})) does nothing at start of the string.

=end