[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 24/88: Remove unused CPP defines naming <method> slots
From: |
Andy Wingo |
Subject: |
[Guile-commits] 24/88: Remove unused CPP defines naming <method> slots |
Date: |
Fri, 23 Jan 2015 15:25:31 +0000 |
wingo pushed a commit to branch master
in repository guile.
commit 9e2cd55ec818fad72e99a0295fbbff3cfca7ff0c
Author: Andy Wingo <address@hidden>
Date: Tue Jan 6 12:06:59 2015 -0500
Remove unused CPP defines naming <method> slots
* libguile/goops.h (scm_si_generic_function, scm_si_specializers)
(scm_si_procedure, scm_si_formals, scm_si_body)
(scm_si_make_procedure): Remove unused CPP defines.
---
libguile/deprecated.c | 1 +
libguile/goops.h | 7 -------
2 files changed, 1 insertions(+), 7 deletions(-)
diff --git a/libguile/deprecated.c b/libguile/deprecated.c
index 2358b42..e0c32f7 100644
--- a/libguile/deprecated.c
+++ b/libguile/deprecated.c
@@ -103,6 +103,7 @@ scm_init_deprecated_goops (void)
}
#define BUFFSIZE 32 /* big enough for most uses */
+#define scm_si_specializers 1 /* offset of spec. slot in a <method> */
#define SPEC_OF(x) SCM_SLOT (x, scm_si_specializers)
static SCM
diff --git a/libguile/goops.h b/libguile/goops.h
index 6ba9698..bc6524c 100644
--- a/libguile/goops.h
+++ b/libguile/goops.h
@@ -150,13 +150,6 @@
#define scm_si_effective_methods 4
#define scm_si_generic_setter 5
-#define scm_si_generic_function 0 /* offset of gf slot in a
<method> */
-#define scm_si_specializers 1 /* offset of spec. slot in a <method> */
-#define scm_si_procedure 2 /* offset of proc. slot in a <method> */
-#define scm_si_formals 3 /* offset of form. slot in a <method> */
-#define scm_si_body 4 /* offset of body slot in a <method> */
-#define scm_si_make_procedure 5 /* offset of makep.slot in a <method> */
-
/* C interface */
SCM_API SCM scm_class_boolean;
SCM_API SCM scm_class_char;
- [Guile-commits] 04/88: Deprecate C interfaces scm_compute_applicable_methods, scm_find_method, (continued)
- [Guile-commits] 04/88: Deprecate C interfaces scm_compute_applicable_methods, scm_find_method, Andy Wingo, 2015/01/23
- [Guile-commits] 09/88: %init-goops-builtins is an extension, not a global, Andy Wingo, 2015/01/23
- [Guile-commits] 10/88: Preparation for more GOOPS refactorings, Andy Wingo, 2015/01/23
- [Guile-commits] 08/88: compute-cpl implementation only in Scheme, Andy Wingo, 2015/01/23
- [Guile-commits] 14/88: Deprecate scm_basic_make_class, Andy Wingo, 2015/01/23
- [Guile-commits] 16/88: define-generic, define-extended-generic are hygienic syntax, Andy Wingo, 2015/01/23
- [Guile-commits] 12/88: Remove declarations without definitions, Andy Wingo, 2015/01/23
- [Guile-commits] 17/88: Remove unused *goops-module* definition., Andy Wingo, 2015/01/23
- [Guile-commits] 20/88: Deprecate scm_no_applicable_method C export, Andy Wingo, 2015/01/23
- [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 <=
- [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, 2015/01/23
- [Guile-commits] 32/88: Remove unused union scm_t_debug_info, Andy Wingo, 2015/01/23