This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Object type tag bits



Frank Cieslok <frankc@senax.iguana.priconet.de> writes:

> The assertion always falied, because the tags did not match. When
> created by createInstance(), the new object got #x1EF7 as tag value,
> the mark function was called with a parameter tagged with
> #x1EFF. The CDR of the smob was equal in both cases.

Your code looks basically correct, so I think that the tag value is
getting munched somewhere.  For a working example of adding a new
smob, you can check out:

   http://idt.net/~mcmanus/sybase_glue.cc

Or the guile-tcltk module, for that matter.

-russ

--
"Reality is what refuses to disappear when you stop believing in it."
             -- (VALIS, Philip K. Dick)