mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-30 03:40:34 +02:00
deprecate struct-vtable-tag
* libguile/deprecated.c: * libguile/deprecated.h: * libguile/struct.c: * libguile/struct.h: * doc/ref/api-compound.texi: Deprecate struct-vtable-tag.
This commit is contained in:
parent
5d312f3c2c
commit
d192791373
5 changed files with 27 additions and 26 deletions
|
@ -917,17 +917,6 @@ SCM_DEFINE (scm_struct_vtable, "struct-vtable", 1, 0, 0,
|
|||
#undef FUNC_NAME
|
||||
|
||||
|
||||
SCM_DEFINE (scm_struct_vtable_tag, "struct-vtable-tag", 1, 0, 0,
|
||||
(SCM handle),
|
||||
"Return the vtable tag of the structure @var{handle}.")
|
||||
#define FUNC_NAME s_scm_struct_vtable_tag
|
||||
{
|
||||
SCM_VALIDATE_VTABLE (1, handle);
|
||||
return scm_from_unsigned_integer
|
||||
(((scm_t_bits)SCM_STRUCT_DATA (handle)) >> 3);
|
||||
}
|
||||
#undef FUNC_NAME
|
||||
|
||||
/* {Associating names and classes with vtables}
|
||||
*
|
||||
* The name of a vtable should probably be stored as a slot. This is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue