From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Greg J. Badros" To: Marius Vollmer Cc: Mikael Djurfeldt , Ariel Rios , guile@sourceware.cygnus.com, guile-gtk@sourceware.cygnus.com, djurfeldt@nada.kth.se Subject: Re: Patch to make guile-gtk work with upcoming guile-1.4 Date: Mon, 19 Jun 2000 15:01:00 -0000 Message-id: References: <200006020301.WAA23978@erin.galway.com.mx> <87k8flfjyn.fsf@zagadka.ping.de> X-SW-Source: 2000-q2/msg00057.html Marius Vollmer writes: > Mikael Djurfeldt writes: > > > The `scm_make_smob_type_mfpe' function has not been mentioned in the > > NEWS file because it might become deprecated in next release of Guile. > > But smob.h says: > > /* These next two functions are the supported way to create new SMOB types. > > scm_make_smob_type is useful if there are no special smob functions > and the defaults work for mark,free,print,equal_p, or you want to use > scm_set_smob_{mark,free,print,equalp}, below. > > scm_make_smob_type_mfpe is ideal if you need to set one or more of > the special smob functions-- use NULL for when the default function > is fine > */ > > The comment should be updated, probably. Or we should just decide not to depracate the _mfpe piece. I think it's imprudent to require the separate and redundant calls to scm_set_smob_ when the common usage suggests the _mfpe interface that permits eliminating those redundancies. Greg