Hi,

Kevin Ryde <[EMAIL PROTECTED]> writes:

> I'm looking at this to allow non-zero tail array only when the layout
> provides for it.  I think all the internal uses of structs have no
> tail array (and a zero size) so that should all be ok.  Dunno if
> anyone else might have used the tail size to get some sneaky extra
> space.  Sounds like the wrong thing to do, but could always be
> loosened up again later.

Your patch looks good to me.

I think it is safe to assume than nobody has passed a non-zero tail size
to `make-struct' when the underlying vtable's layout doesn't allow for
it because the resulting struct is just unusable (its tail elements are
left uninitialized, as we saw earlier in one of these threads).

Thanks,
Ludovic.


_______________________________________________
Guile-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/guile-devel

Reply via email to