From ea68d342f18c3d2082ce6a4fb39bd38b6af932cc Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Mon, 7 Dec 2009 09:56:58 +0100 Subject: procedures-with-setters implemented in terms of structs * libguile/tags.h (scm_tc7_pws): No more. * libguile/procs.c (scm_procedure_with_setter_p) (scm_make_procedure_with_setter, scm_procedure, scm_setter): Implement procedures-with-setters in terms of applicable structs with setters. * libguile/procs.h: Remove a big, outdated comment, and the deprecated macros. * libguile/deprecated.h (SCM_PROCEDURE_WITH_SETTER_P, SCM_PROCEDURE) (SCM_SETTER): Deprecate these. SCM_PROCEDURE and SCM_SETTER are bad names. * libguile/evalext.c (scm_self_evaluating_p): * libguile/gc.c (scm_i_tag_name): * libguile/goops.c: (scm_class_of): * libguile/print.c (iprin1): * libguile/procprop.c (scm_i_procedure_arity): * libguile/procs.c (scm_procedure_p): * libguile/debug.c (scm_procedure_source): Remove a tc7_pws case. * libguile/goops.h: * libguile/goops.c (scm_class_procedure_with_setter): Remove this class; it is subsumed by applicable_struct_with_setter. * libguile/struct.h: Update a comment. * libguile/vm-i-system.c (call, goto/args, mv-call): Remove PWS cases. --- libguile/struct.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libguile/struct.h') diff --git a/libguile/struct.h b/libguile/struct.h index 1e80fc188..5955e5928 100644 --- a/libguile/struct.h +++ b/libguile/struct.h @@ -35,7 +35,7 @@ I would like to write this all up here, but for now: - http://wingolog.org/pub/goops-class-redefinition-3.png + http://wingolog.org/archives/2009/11/09/class-redefinition-in-guile */ /* All vtables have the following fields. */ -- cgit v1.2.3