fantastic, this was exactly what I was looking for.
thanks lukas -------------------------------------------------- From: "Alex Mizrahi" <killerst...@newmail.ru> Sent: Wednesday, February 24, 2010 4:38 PM To: <elephant-devel@common-lisp.net> Subject: Re: [elephant-devel] make-instance with :from-oid > LG> So when I use an oid that stores an object that is not of the given > class, there is no error thrown or no warning. > LG> Is there any possibility to be sure that the given oid stores an > object > of the given class? > > You shouldn't use make-instance with :from-oid initarg to recreate > instances -- it won't work correctly. > > Use controller-recreate-instance function. It needs only oid and finds > class > automatically, so you just won't have problems with mismatches. > > > > _______________________________________________ > elephant-devel site list > elephant-devel@common-lisp.net > http://common-lisp.net/mailman/listinfo/elephant-devel > _______________________________________________ elephant-devel site list elephant-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/elephant-devel