[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 18/42: Remove unused scm_t_method and SCM_METHOD
From: |
Andy Wingo |
Subject: |
[Guile-commits] 18/42: Remove unused scm_t_method and SCM_METHOD |
Date: |
Sat, 10 Jan 2015 00:03:09 +0000 |
wingo pushed a commit to branch wip-goops-refactor
in repository guile.
commit 6a9f9b24c0da5411b62d93dbf8a4fa11ee51b623
Author: Andy Wingo <address@hidden>
Date: Tue Jan 6 11:30:24 2015 -0500
Remove unused scm_t_method and SCM_METHOD
* libguile/goops.h (scm_t_method, SCM_METHOD): Remove unused struct
type, typedef, and macro.
---
libguile/goops.h | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/libguile/goops.h b/libguile/goops.h
index 59cc4d0..d145cb4 100644
--- a/libguile/goops.h
+++ b/libguile/goops.h
@@ -102,14 +102,6 @@
#define scm_si_nfields (scm_vtable_offset_user + 17) /* an integer */
#define SCM_N_CLASS_SLOTS (scm_vtable_offset_user + 18)
-typedef struct scm_t_method {
- SCM generic_function;
- SCM specializers;
- SCM procedure;
-} scm_t_method;
-
-#define SCM_METHOD(obj) ((scm_t_method *) SCM_STRUCT_DATA (obj))
-
#define SCM_OBJ_CLASS_REDEF(x) (SCM_PACK (SCM_STRUCT_VTABLE_DATA (x)
[scm_si_redefined]))
#define SCM_INST(x) SCM_STRUCT_DATA (x)
- [Guile-commits] 04/42: Remove unused macros in goops.c, (continued)
- [Guile-commits] 04/42: Remove unused macros in goops.c, Andy Wingo, 2015/01/09
- [Guile-commits] 10/42: Remove declarations without definitions, Andy Wingo, 2015/01/09
- [Guile-commits] 08/42: Preparation for more GOOPS refactorings, Andy Wingo, 2015/01/09
- [Guile-commits] 06/42: compute-cpl implementation only in Scheme, Andy Wingo, 2015/01/09
- [Guile-commits] 09/42: Remove unused %fast-slot-ref / %fast-slot-set! from GOOPS, Andy Wingo, 2015/01/09
- [Guile-commits] 12/42: Deprecate scm_basic_make_class, Andy Wingo, 2015/01/09
- [Guile-commits] 14/42: define-generic, define-extended-generic are hygienic syntax, Andy Wingo, 2015/01/09
- [Guile-commits] 07/42: %init-goops-builtins is an extension, not a global, Andy Wingo, 2015/01/09
- [Guile-commits] 13/42: `class' is a hygienic macro, Andy Wingo, 2015/01/09
- [Guile-commits] 16/42: Further GOOPS simplifications, Andy Wingo, 2015/01/09
- [Guile-commits] 18/42: Remove unused scm_t_method and SCM_METHOD,
Andy Wingo <=
- [Guile-commits] 15/42: Remove unused *goops-module* definition., Andy Wingo, 2015/01/09
- [Guile-commits] 19/42: Deprecate scm_no_applicable_method C export, Andy Wingo, 2015/01/09
- [Guile-commits] 21/42: Remove useless scm_s_slot_set_x export, Andy Wingo, 2015/01/09
- [Guile-commits] 20/42: Remove unreachable code in scm_setter, Andy Wingo, 2015/01/09
- [Guile-commits] 02/42: Deprecate C interfaces scm_compute_applicable_methods, scm_find_method, Andy Wingo, 2015/01/09
- [Guile-commits] 23/42: Remove unused CPP defines naming <method> slots, Andy Wingo, 2015/01/09
- [Guile-commits] 27/42: Remove scm_at_assert_bound_ref, Andy Wingo, 2015/01/09
- [Guile-commits] 28/42: Remove scm_assert_bound, Andy Wingo, 2015/01/09
- [Guile-commits] 30/42: More unused code removal in GOOPS, Andy Wingo, 2015/01/09
- [Guile-commits] 26/42: Remove hashset slots from GOOPS classes, Andy Wingo, 2015/01/09