mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
remove scm_add_method
* libguile/goops.h: * libguile/goops.c (scm_add_method): Remove this function. It didn't work, and even if we fixed it to work it wouldn't be as good as using Scheme's `add-method!'.
This commit is contained in:
parent
31c944228c
commit
d5f9864ffc
2 changed files with 0 additions and 9 deletions
|
@ -2648,14 +2648,6 @@ scm_ensure_accessor (SCM name)
|
|||
return gf;
|
||||
}
|
||||
|
||||
SCM_SYMBOL (sym_internal_add_method_x, "internal-add-method!");
|
||||
|
||||
void
|
||||
scm_add_method (SCM gf, SCM m)
|
||||
{
|
||||
scm_eval (scm_list_3 (sym_internal_add_method_x, gf, m), scm_module_goops);
|
||||
}
|
||||
|
||||
#ifdef GUILE_DEBUG
|
||||
/*
|
||||
* Debugging utilities
|
||||
|
|
|
@ -237,7 +237,6 @@ SCM_API void scm_load_goops (void);
|
|||
SCM_API SCM scm_make_extended_class (char const *type_name, int applicablep);
|
||||
SCM_API void scm_make_port_classes (long ptobnum, char *type_name);
|
||||
SCM_API SCM scm_ensure_accessor (SCM name);
|
||||
SCM_API void scm_add_method (SCM gf, SCM m);
|
||||
SCM_API SCM scm_class_of (SCM obj);
|
||||
|
||||
/* Low level functions exported */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue