[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 19/88: Remove unused scm_t_method and SCM_METHOD
From: |
Andy Wingo |
Subject: |
[Guile-commits] 19/88: Remove unused scm_t_method and SCM_METHOD |
Date: |
Fri, 23 Jan 2015 15:25:28 +0000 |
wingo pushed a commit to branch master
in repository guile.
commit 07f62001162e090914115979f58ddb2530910343
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] 23/88: Remove unused `default-slot-definition-class' <class> slot, (continued)
- [Guile-commits] 23/88: Remove unused `default-slot-definition-class' <class> slot, Andy Wingo, 2015/01/23
- [Guile-commits] 24/88: Remove unused CPP defines naming <method> slots, Andy Wingo, 2015/01/23
- [Guile-commits] 15/88: `class' is a hygienic macro, Andy Wingo, 2015/01/23
- [Guile-commits] 22/88: Remove useless scm_s_slot_set_x export, Andy Wingo, 2015/01/23
- [Guile-commits] 11/88: Remove unused %fast-slot-ref / %fast-slot-set! from GOOPS, Andy Wingo, 2015/01/23
- [Guile-commits] 27/88: Remove hashset slots from GOOPS classes, Andy Wingo, 2015/01/23
- [Guile-commits] 25/88: Generics with setters have <applicable-struct-with-setter> layout, Andy Wingo, 2015/01/23
- [Guile-commits] 13/88: Move GOOPS boot to Scheme, Andy Wingo, 2015/01/23
- [Guile-commits] 31/88: More unused code removal in GOOPS, Andy Wingo, 2015/01/23
- [Guile-commits] 29/88: Remove scm_assert_bound, Andy Wingo, 2015/01/23
- [Guile-commits] 19/88: Remove unused scm_t_method and SCM_METHOD,
Andy Wingo <=
- [Guile-commits] 32/88: Remove unused union scm_t_debug_info, Andy Wingo, 2015/01/23
- [Guile-commits] 28/88: Remove scm_at_assert_bound_ref, Andy Wingo, 2015/01/23
- [Guile-commits] 33/88: More goops.c cleanups, and fix a security issue, Andy Wingo, 2015/01/23
- [Guile-commits] 34/88: Remove GOOPS random state, Andy Wingo, 2015/01/23
- [Guile-commits] 36/88: Statically compute offsets for slots of <class> in Scheme, Andy Wingo, 2015/01/23
- [Guile-commits] 21/88: Remove unreachable code in scm_setter, Andy Wingo, 2015/01/23
- [Guile-commits] 18/88: Fold GOOPS compile and dispatch modules into main GOOPS module, Andy Wingo, 2015/01/23
- [Guile-commits] 39/88: Port method and generic accessors to Scheme, Andy Wingo, 2015/01/23
- [Guile-commits] 35/88: Refactor to <class> slot computation, Andy Wingo, 2015/01/23
- [Guile-commits] 38/88: <class> accessors implemented in Scheme, Andy Wingo, 2015/01/23