Hi,

Good idea.

Kevin Ryde <[EMAIL PROTECTED]> writes:

>   memcpy (new_st_data, st_data, n_words * sizeof(scm_t_bits));

That's not possible: `struct-copy' must check fields permission and type
before copying.  For instance, `s' fields must be updated, and a struct
with `o' fields cannot be copied I think.

To that end, we should probably factorize code that deals with struct
layout, field permission checks and the likes.

Thanks,
Ludovic.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel

Reply via email to