guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] 17/87: Remove unused scm_t_method and SCM_METHOD


From: Andy Wingo
Subject: [Guile-commits] 17/87: Remove unused scm_t_method and SCM_METHOD
Date: Thu, 22 Jan 2015 17:29:46 +0000

wingo pushed a commit to branch wip-goops-refactor
in repository guile.

commit 159356cf314416cf3498fa118af34853a58d41b0
Author: Andy Wingo <address@hidden>
Date:   Tue Jan 6 11:30:24 2015 -0500

    Remove unused scm_t_method and SCM_METHOD
    
    * libguile/goops.h (scm_t_method, SCM_METHOD): Remove unused struct
      type, typedef, and macro.
---
 libguile/goops.h |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/libguile/goops.h b/libguile/goops.h
index 59cc4d0..d145cb4 100644
--- a/libguile/goops.h
+++ b/libguile/goops.h
@@ -102,14 +102,6 @@
 #define scm_si_nfields          (scm_vtable_offset_user + 17) /* an integer */
 #define SCM_N_CLASS_SLOTS       (scm_vtable_offset_user + 18)
 
-typedef struct scm_t_method {
-  SCM generic_function;
-  SCM specializers;
-  SCM procedure;
-} scm_t_method;
-
-#define SCM_METHOD(obj) ((scm_t_method *) SCM_STRUCT_DATA (obj))
-
 #define SCM_OBJ_CLASS_REDEF(x)  (SCM_PACK (SCM_STRUCT_VTABLE_DATA (x) 
[scm_si_redefined]))
 #define SCM_INST(x)           SCM_STRUCT_DATA (x)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]