[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 22/42: Remove unused `default-slot-definition-class' <cl
From: |
Andy Wingo |
Subject: |
[Guile-commits] 22/42: Remove unused `default-slot-definition-class' <class> slot |
Date: |
Sat, 10 Jan 2015 00:03:11 +0000 |
wingo pushed a commit to branch wip-goops-refactor
in repository guile.
commit fab2ed87ab627cdb6b3981439d88ce4b7d36e5d8
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 7506e7c..2d6c87e 100644
--- a/module/oop/goops.scm
+++ b/module/oop/goops.scm
@@ -238,7 +238,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] 19/42: Deprecate scm_no_applicable_method C export, (continued)
- [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
- [Guile-commits] 29/42: Remove private var_no_applicable_method capture, Andy Wingo, 2015/01/09
- [Guile-commits] 22/42: Remove unused `default-slot-definition-class' <class> slot,
Andy Wingo <=
- [Guile-commits] 31/42: Remove unused union scm_t_debug_info, Andy Wingo, 2015/01/09
- [Guile-commits] 33/42: Remove GOOPS random state, Andy Wingo, 2015/01/09
- [Guile-commits] 35/42: Statically compute offsets for slots of <class> in Scheme, Andy Wingo, 2015/01/09
- [Guile-commits] 24/42: Generics with setters have <applicable-struct-with-setter> layout, Andy Wingo, 2015/01/09
- [Guile-commits] 11/42: Move GOOPS boot to Scheme, Andy Wingo, 2015/01/09
- [Guile-commits] 34/42: Refactor to <class> slot computation, Andy Wingo, 2015/01/09
- [Guile-commits] 42/42: Remove TEST_CHANGE_CLASS, Andy Wingo, 2015/01/09
- [Guile-commits] 41/42: Remove pure-generic?, Andy Wingo, 2015/01/09
- [Guile-commits] 40/42: Goops slot-unbound / slot-missing cleanups, Andy Wingo, 2015/01/09
- [Guile-commits] 38/42: Port method and generic accessors to Scheme, Andy Wingo, 2015/01/09