1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/stringio
matz 25c50cd193 * ruby.h (struct RString): embed small strings.
(RSTRING_LEN): defined for accessing string members.
  (RSTRING_PTR): ditto.

* string.c: use RSTRING_LEN and RSTRING_PTR.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@10809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-08-31 10:30:33 +00:00
..
.cvsignore add extconf.h to .cvsignore. 2006-06-24 01:15:08 +00:00
depend * ext/stringio/depend: added. 2002-03-17 11:07:53 +00:00
extconf.rb * ext/extmk.rb (MANIFEST): do not use anymore, use extconf.rb instead. 2004-11-01 05:04:04 +00:00
README
stringio.c * ruby.h (struct RString): embed small strings. 2006-08-31 10:30:33 +00:00

-*- rd -*-
$Author$
$Date$

=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