------ art_21671_26872530.1128519367940
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Hello,
I'm trying to build an object that behaves just like Array in c. However
there seems to be one stumbling block. I looked at the garbage collector and
there is no special case in T_DATA in case an object has the flag shared. I
think there should be two different marking functions in case an object has
the set and in the case it does not. That way I could design something like
this:
struct RVarArrayData {
long len;
union {
long capa;
VALUE shared;
} aux;
VARVALUE * ptr;
};
However at the moment this is not a possibility.
With regards,
Christophe
------ art_21671_26872530.1128519367940--