[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 17/61: Remove pure-generic?
From: |
Andy Wingo |
Subject: |
[Guile-commits] 17/61: Remove pure-generic? |
Date: |
Thu, 22 Jan 2015 18:53:03 +0000 |
wingo pushed a commit to branch wip-goops-refactor
in repository guile.
commit 4a07435eedb7a2ec1eba614ed59423620b35f140
Author: Andy Wingo <address@hidden>
Date: Sat Jan 10 00:52:26 2015 +0100
Remove pure-generic?
* libguile/goops.h:
* libguile/goops.c (scm_pure_generic_p): Remove function only compiled
in debug mode.
---
libguile/goops.c | 16 ----------------
libguile/goops.h | 4 ----
2 files changed, 0 insertions(+), 20 deletions(-)
diff --git a/libguile/goops.c b/libguile/goops.c
index 53b69a9..6e1fceb 100644
--- a/libguile/goops.c
+++ b/libguile/goops.c
@@ -1314,22 +1314,6 @@ scm_ensure_accessor (SCM name)
return gf;
}
-#ifdef GUILE_DEBUG
-/*
- * Debugging utilities
- */
-
-SCM_DEFINE (scm_pure_generic_p, "pure-generic?", 1, 0, 0,
- (SCM obj),
- "Return @code{#t} if @var{obj} is a pure generic.")
-#define FUNC_NAME s_scm_pure_generic_p
-{
- return scm_from_bool (SCM_PUREGENERICP (obj));
-}
-#undef FUNC_NAME
-
-#endif /* GUILE_DEBUG */
-
/*
* Initialization
*/
diff --git a/libguile/goops.h b/libguile/goops.h
index 077efc6..c5ed39f 100644
--- a/libguile/goops.h
+++ b/libguile/goops.h
@@ -138,10 +138,6 @@ SCM_API SCM scm_sys_allocate_instance (SCM c, SCM
initargs);
SCM_API SCM scm_slot_ref (SCM obj, SCM slot_name);
SCM_API SCM scm_slot_set_x (SCM obj, SCM slot_name, SCM value);
-#ifdef GUILE_DEBUG
-SCM_API SCM scm_pure_generic_p (SCM obj);
-#endif
-
SCM_INTERNAL void scm_i_inherit_applicable (SCM c);
SCM_INTERNAL SCM scm_i_get_keyword (SCM key, SCM l, long len,
SCM default_value, const char *subr);
- [Guile-commits] 14/61: Port method and generic accessors to Scheme, (continued)
- [Guile-commits] 14/61: Port method and generic accessors to Scheme, Andy Wingo, 2015/01/22
- [Guile-commits] 04/61: Remove scm_assert_bound, Andy Wingo, 2015/01/22
- [Guile-commits] 20/61: Remove scm_c_extend_primitive_generic, Andy Wingo, 2015/01/22
- [Guile-commits] 02/61: Remove hashset slots from GOOPS classes, Andy Wingo, 2015/01/22
- [Guile-commits] 05/61: Remove private var_no_applicable_method capture, Andy Wingo, 2015/01/22
- [Guile-commits] 11/61: Statically compute offsets for slots of <class> in Scheme, Andy Wingo, 2015/01/22
- [Guile-commits] 10/61: Refactor to <class> slot computation, Andy Wingo, 2015/01/22
- [Guile-commits] 09/61: Remove GOOPS random state, Andy Wingo, 2015/01/22
- [Guile-commits] 23/61: Deprecate scm_get_keyword, Andy Wingo, 2015/01/22
- [Guile-commits] 18/61: Remove TEST_CHANGE_CLASS, Andy Wingo, 2015/01/22
- [Guile-commits] 17/61: Remove pure-generic?,
Andy Wingo <=
- [Guile-commits] 25/61: Re-use the vtable "size" field for GOOPS nfields, Andy Wingo, 2015/01/22
- [Guile-commits] 19/61: No more concept of "pure generics", Andy Wingo, 2015/01/22
- [Guile-commits] 15/61: Move slot-ref et al to Scheme, Andy Wingo, 2015/01/22
- [Guile-commits] 21/61: Minor goops.c tidying, Andy Wingo, 2015/01/22
- [Guile-commits] 01/61: Deprecate C exports of GOOPS classes., Andy Wingo, 2015/01/22
- [Guile-commits] 22/61: Rewrite %initialize-object in Scheme, Andy Wingo, 2015/01/22
- [Guile-commits] 31/61: GOOPS cleanup to use SRFI-1 better, Andy Wingo, 2015/01/22
- [Guile-commits] 29/61: Incorporate %inherit-magic! into %init-layout!, Andy Wingo, 2015/01/22
- [Guile-commits] 32/61: append-map rather than mapappend, Andy Wingo, 2015/01/22
- [Guile-commits] 24/61: Move <class> initialization to Scheme, Andy Wingo, 2015/01/22