This is the mail archive of the
mailing list for the Guile project.
Re: New smob interface
Clark McGrew <firstname.lastname@example.org> writes:
> >>>>> "Mikael" == Mikael Djurfeldt <email@example.com> writes:
> Mikael> Therefore I've now comitted a new interface for smob type
> Mikael> creation which supersedes scm_newsmob.
> How badly is this going to break code that is using the old smob
> interface? I suppose that old code will be completely broken?
Nope. scm_newsmob remains a callable function, but has the
disadvantage that such smobs will be nameless => they won't have Goops
proxy classes associated with them => you can't specialize methods on
them in a standardized way.
> but >255 smobs is a worthy goal.
Hmm... This change unfortunately doesn't supply us with more smobs.