[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 21/87: Remove unused `default-slot-definition-class' <cl
From: |
Andy Wingo |
Subject: |
[Guile-commits] 21/87: Remove unused `default-slot-definition-class' <class> slot |
Date: |
Thu, 22 Jan 2015 17:29:47 +0000 |
wingo pushed a commit to branch wip-goops-refactor
in repository guile.
commit b55d967eaf57bbffefaf57d86f496730c2e3a52d
Author: Andy Wingo <address@hidden>
Date: Tue Jan 6 12:03:25 2015 -0500
Remove unused `default-slot-definition-class' <class> slot
* libguile/goops.h (SCM_CLASS_CLASS_LAYOUT, scm_si_slotdef_class)
* module/oop/goops.scm (build-<class>-slots): Remove unused
`default-slot-definition-class' <class> slot.
---
libguile/goops.h | 10 ++++------
module/oop/goops.scm | 1 -
2 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/libguile/goops.h b/libguile/goops.h
index 08e8c62..6ba9698 100644
--- a/libguile/goops.h
+++ b/libguile/goops.h
@@ -76,7 +76,6 @@
"pw" /* direct subclasses */ \
"pw" /* direct methods */ \
"pw" /* cpl */ \
- "pw" /* default-slot-definition-class */ \
"pw" /* slots */ \
"pw" /* getters-n-setters */ \
"pw" /* nfields */
@@ -96,11 +95,10 @@
#define scm_si_direct_subclasses (scm_vtable_offset_user + 11) /* (class ...)
*/
#define scm_si_direct_methods (scm_vtable_offset_user + 12) /* (methods ...)
*/
#define scm_si_cpl (scm_vtable_offset_user + 13) /* (class ...) */
-#define scm_si_slotdef_class (scm_vtable_offset_user + 14)
-#define scm_si_slots (scm_vtable_offset_user + 15) /* ((name .
options) ...) */
-#define scm_si_getters_n_setters (scm_vtable_offset_user + 16)
-#define scm_si_nfields (scm_vtable_offset_user + 17) /* an integer */
-#define SCM_N_CLASS_SLOTS (scm_vtable_offset_user + 18)
+#define scm_si_slots (scm_vtable_offset_user + 14) /* ((name .
options) ...) */
+#define scm_si_getters_n_setters (scm_vtable_offset_user + 15)
+#define scm_si_nfields (scm_vtable_offset_user + 16) /* an integer */
+#define SCM_N_CLASS_SLOTS (scm_vtable_offset_user + 17)
#define SCM_OBJ_CLASS_REDEF(x) (SCM_PACK (SCM_STRUCT_VTABLE_DATA (x)
[scm_si_redefined]))
#define SCM_INST(x) SCM_STRUCT_DATA (x)
diff --git a/module/oop/goops.scm b/module/oop/goops.scm
index bf45201..f4ba91b 100644
--- a/module/oop/goops.scm
+++ b/module/oop/goops.scm
@@ -239,7 +239,6 @@
(unspecialized-slot direct-subclasses)
(unspecialized-slot direct-methods)
(unspecialized-slot cpl)
- (unspecialized-slot default-slot-definition-class)
(unspecialized-slot slots)
(unspecialized-slot getters-n-setters)
(unspecialized-slot nfields))))
- [Guile-commits] 02/87: Deprecate C interfaces scm_compute_applicable_methods, scm_find_method, (continued)
- [Guile-commits] 02/87: Deprecate C interfaces scm_compute_applicable_methods, scm_find_method, Andy Wingo, 2015/01/22
- [Guile-commits] 12/87: Deprecate scm_basic_make_class, Andy Wingo, 2015/01/22
- [Guile-commits] 04/87: Remove unused macros in goops.c, Andy Wingo, 2015/01/22
- [Guile-commits] 06/87: compute-cpl implementation only in Scheme, Andy Wingo, 2015/01/22
- [Guile-commits] 13/87: `class' is a hygienic macro, Andy Wingo, 2015/01/22
- [Guile-commits] 14/87: define-generic, define-extended-generic are hygienic syntax, Andy Wingo, 2015/01/22
- [Guile-commits] 15/87: Remove unused *goops-module* definition., Andy Wingo, 2015/01/22
- [Guile-commits] 17/87: Remove unused scm_t_method and SCM_METHOD, Andy Wingo, 2015/01/22
- [Guile-commits] 20/87: Remove useless scm_s_slot_set_x export, Andy Wingo, 2015/01/22
- [Guile-commits] 18/87: Deprecate scm_no_applicable_method C export, Andy Wingo, 2015/01/22
- [Guile-commits] 21/87: Remove unused `default-slot-definition-class' <class> slot,
Andy Wingo <=
- [Guile-commits] 22/87: Remove unused CPP defines naming <method> slots, Andy Wingo, 2015/01/22
- [Guile-commits] 19/87: Remove unreachable code in scm_setter, Andy Wingo, 2015/01/22
- [Guile-commits] 26/87: Remove scm_at_assert_bound_ref, Andy Wingo, 2015/01/22
- [Guile-commits] 25/87: Remove hashset slots from GOOPS classes, Andy Wingo, 2015/01/22
- [Guile-commits] 29/87: More unused code removal in GOOPS, Andy Wingo, 2015/01/22
- [Guile-commits] 23/87: Generics with setters have <applicable-struct-with-setter> layout, Andy Wingo, 2015/01/22
- [Guile-commits] 30/87: Remove unused union scm_t_debug_info, Andy Wingo, 2015/01/22
- [Guile-commits] 27/87: Remove scm_assert_bound, Andy Wingo, 2015/01/22
- [Guile-commits] 32/87: Remove GOOPS random state, Andy Wingo, 2015/01/22
- [Guile-commits] 28/87: Remove private var_no_applicable_method capture, Andy Wingo, 2015/01/22