This is the mail archive of the
guile@cygnus.com
mailing list for the Guile project.
Re: Smob documentation
Jost Boekemeier <jostobfe@calvados.zrz.TU-Berlin.DE> writes:
> Heaven. Yes! But wouldn't it optimize Jim's code also?
>
>
> image->name = SCM_BOOL_F;
> image->update_func = SCM_BOOL_F;
>
> SCM_NEWCELL (image_smob);
> SCM_SETCDR (image_smob, image);
> SCM_SETCAR (image_smob, image_tag);
>
> image->name = scm_string_copy (name);
> image->update_func = scm_make_gsubr (@dots{});
I don't understand. What optimization are you worried about?