capa field in RString, and RArray is now LONG (ruby-lang:458)

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
michal 2002-09-09 10:26:02 +00:00
parent 23fb79a290
commit 6f92767afc

4
ruby.h
View File

@ -316,7 +316,7 @@ struct RString {
long len; long len;
char *ptr; char *ptr;
union { union {
int capa; long capa;
VALUE shared; VALUE shared;
} aux; } aux;
}; };
@ -325,7 +325,7 @@ struct RArray {
struct RBasic basic; struct RBasic basic;
long len; long len;
union { union {
int capa; long capa;
VALUE shared; VALUE shared;
} aux; } aux;
VALUE *ptr; VALUE *ptr;