unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* what is struct-vtable-tag
@ 2007-03-07 21:26 Kevin Ryde
  2007-03-08  8:33 ` Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Ryde @ 2007-03-07 21:26 UTC (permalink / raw)
  To: guile-devel

What is struct-vtable-tag meant to be for?  Or what can be said about
it in the manual?

I see it's the given vtable's data array address, munged by a
divide-by-8.  But I can't tell if it's meant as an id, or for hashing,
or what.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: what is struct-vtable-tag
  2007-03-07 21:26 what is struct-vtable-tag Kevin Ryde
@ 2007-03-08  8:33 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2007-03-08  8:33 UTC (permalink / raw)
  To: guile-devel

Hi,

Kevin Ryde <user42@zip.com.au> writes:

> What is struct-vtable-tag meant to be for?  Or what can be said about
> it in the manual?

No idea.  A quick grep through the code shows that it's not used from C
nor from Scheme.  That said, it could be used as a unique identifier,
just like `object-address'.

Thanks,
Ludovic.


_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-03-08  8:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-07 21:26 what is struct-vtable-tag Kevin Ryde
2007-03-08  8:33 ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).