HCoop
/
bpt
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ad19659
)
* tag.c (scm_tag): Base tag on vtable pointer.
author
Mikael Djurfeldt
<djurfeldt@nada.kth.se>
Wed, 23 Jun 1999 11:19:25 +0000
(11:19 +0000)
committer
Mikael Djurfeldt
<djurfeldt@nada.kth.se>
Wed, 23 Jun 1999 11:19:25 +0000
(11:19 +0000)
libguile/tag.c
patch
|
blob
|
blame
|
history
diff --git
a/libguile/tag.c
b/libguile/tag.c
index
4e8ce4a
..
48e7322
100644
(file)
--- a/
libguile/tag.c
+++ b/
libguile/tag.c
@@
-175,8
+175,7
@@
scm_tag (x)
case scm_tcs_cons_gloc:
/* must be a struct */
{
- int tag;
- tag = SCM_STRUCT_VTABLE_DATA (x)[scm_struct_i_tag];
+ int tag = (int) SCM_STRUCT_VTABLE_DATA (x) >> 3;
return SCM_MAKINUM (SCM_INUM (SCM_CDR (scm_utag_struct_base))
| (tag << 8));
}