diff options
author | Andy Wingo <wingo@pobox.com> | 2012-07-06 18:12:59 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2012-07-06 18:12:59 +0200 |
commit | d192791373b79e905eb02f9c0b01413051a7b2f8 (patch) | |
tree | 829a54bf919a51698e03de85f2e83702170ee41c /libguile/struct.c | |
parent | 5d312f3c2c5db3a7677a9c8ec4306feabce8445f (diff) | |
download | guile-d192791373b79e905eb02f9c0b01413051a7b2f8.tar.gz |
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.
Diffstat (limited to 'libguile/struct.c')
-rw-r--r-- | libguile/struct.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/libguile/struct.c b/libguile/struct.c index 326f306ac..e6c7f4bdc 100644 --- a/libguile/struct.c +++ b/libguile/struct.c @@ -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 |