guile-cvs
[Top][All Lists]
Advanced

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

guile/guile-core NEWS RELEASE libguile/ChangeLo...


From: Dirk Herrmann
Subject: guile/guile-core NEWS RELEASE libguile/ChangeLo...
Date: Sat, 23 Dec 2000 03:38:06 -0800

CVSROOT:        /cvs
Module name:    guile
Changes by:     Dirk Herrmann <address@hidden>  00/12/23 03:38:06

Modified files:
        guile-core     : NEWS RELEASE 
        guile-core/libguile: ChangeLog procs.c procs.h 

Log message:
        * Removed unused member "properties" from struct scm_subr_entry.

CVSWeb URLs:
http://subversions.gnu.org/cgi-bin/cvsweb/guile/guile-core/NEWS.diff?r1=1.232&r2=1.233
http://subversions.gnu.org/cgi-bin/cvsweb/guile/guile-core/RELEASE.diff?r1=1.82&r2=1.83
http://subversions.gnu.org/cgi-bin/cvsweb/guile/guile-core/libguile/ChangeLog.diff?r1=1.1217&r2=1.1218
http://subversions.gnu.org/cgi-bin/cvsweb/guile/guile-core/libguile/procs.c.diff?r1=1.48&r2=1.49
http://subversions.gnu.org/cgi-bin/cvsweb/guile/guile-core/libguile/procs.h.diff?r1=1.35&r2=1.36

Patches:
Index: guile/guile-core/NEWS
diff -u guile/guile-core/NEWS:1.232 guile/guile-core/NEWS:1.233
--- guile/guile-core/NEWS:1.232 Fri Dec 22 08:46:16 2000
+++ guile/guile-core/NEWS       Sat Dec 23 03:38:06 2000
@@ -308,7 +308,8 @@
 SCM_SUBSTRP, SCM_SUBSTR_STR, SCM_SUBSTR_OFFSET, SCM_COERCE_SUBSTR,
 SCM_ROSTRINGP, SCM_RWSTRINGP, SCM_VALIDATE_RWSTRING, SCM_ROCHARS,
 SCM_ROUCHARS, SCM_SETLENGTH, SCM_SETCHARS, SCM_LENGTH_MAX, SCM_GC8MARKP,
-SCM_SETGC8MARK, SCM_CLRGC8MARK, SCM_GCTYP16, SCM_GCCDR, SCM_SUBR_DOC
+SCM_SETGC8MARK, SCM_CLRGC8MARK, SCM_GCTYP16, SCM_GCCDR, SCM_SUBR_DOC,
+SCM_SUBR_PROPS
 
 Use SCM_ASSERT_RANGE or SCM_VALIDATE_XXX_RANGE instead of SCM_OUTOFRANGE.
 Use scm_memory_error instead of SCM_NALLOC.
Index: guile/guile-core/RELEASE
diff -u guile/guile-core/RELEASE:1.82 guile/guile-core/RELEASE:1.83
--- guile/guile-core/RELEASE:1.82       Fri Dec 22 08:46:16 2000
+++ guile/guile-core/RELEASE    Sat Dec 23 03:38:06 2000
@@ -53,7 +53,7 @@
   SCM_COERCE_SUBSTR, SCM_ROSTRINGP, SCM_RWSTRINGP, SCM_VALIDATE_RWSTRING,
   SCM_ROCHARS, SCM_ROUCHARS, SCM_SETLENGTH, SCM_SETCHARS, SCM_LENGTH_MAX,
   SCM_GC8MARKP, SCM_SETGC8MARK, SCM_CLRGC8MARK, SCM_GCTYP16, SCM_GCCDR,
-  SCM_SUBR_DOC
+  SCM_SUBR_DOC, SCM_SUBR_PROPS
 - remove scm_vector_set_length_x
 - remove function scm_call_catching_errors
   (replaced by catch functions from throw.[ch])
Index: guile/guile-core/libguile/ChangeLog
diff -u guile/guile-core/libguile/ChangeLog:1.1217 
guile/guile-core/libguile/ChangeLog:1.1218
--- guile/guile-core/libguile/ChangeLog:1.1217  Fri Dec 22 08:46:16 2000
+++ guile/guile-core/libguile/ChangeLog Sat Dec 23 03:38:06 2000
@@ -1,3 +1,13 @@
+2000-12-23  Dirk Herrmann  <address@hidden>
+
+       * procs.h (scm_subr_entry):  Removed unused struct member
+       "properties".
+
+       (SCM_SUBR_PROPS):  Deprecated.
+
+       * procs.c (scm_make_subr_opt, scm_mark_subr_table):  Struct
+       scm_subr_entry does not have a member "properties" any more.
+
 2000-12-22  Dirk Herrmann  <address@hidden>
 
        * procs.h (scm_subr_entry):  Removed unused struct member
Index: guile/guile-core/libguile/procs.c
diff -u guile/guile-core/libguile/procs.c:1.48 
guile/guile-core/libguile/procs.c:1.49
--- guile/guile-core/libguile/procs.c:1.48      Fri Dec 22 08:46:17 2000
+++ guile/guile-core/libguile/procs.c   Sat Dec 23 03:38:06 2000
@@ -102,7 +102,6 @@
   scm_subr_table[entry].handle = z;
   scm_subr_table[entry].name = symbol;
   scm_subr_table[entry].generic = 0;
-  scm_subr_table[entry].properties = SCM_EOL;
   
   SCM_SET_SUBRF (z, fcn);
   SCM_SET_CELL_TYPE (z, (entry << 8) + type);
@@ -149,8 +148,6 @@
       SCM_SETGCMARK (scm_subr_table[i].name);
       if (scm_subr_table[i].generic && *scm_subr_table[i].generic)
        scm_gc_mark (*scm_subr_table[i].generic);
-      if (SCM_NIMP (scm_subr_table[i].properties))
-       scm_gc_mark (scm_subr_table[i].properties);
     }
 }
 
Index: guile/guile-core/libguile/procs.h
diff -u guile/guile-core/libguile/procs.h:1.35 
guile/guile-core/libguile/procs.h:1.36
--- guile/guile-core/libguile/procs.h:1.35      Fri Dec 22 08:46:17 2000
+++ guile/guile-core/libguile/procs.h   Sat Dec 23 03:38:06 2000
@@ -62,7 +62,6 @@
   SCM *generic;                        /* 0 if no generic support
                                 * *generic == 0 until first method
                                 */
-  SCM properties;              /* procedure properties */
 } scm_subr_entry;
 
 #define SCM_SUBRNUM(subr) (SCM_CELL_WORD_0 (subr) >> 8)
@@ -73,6 +72,7 @@
 #define SCM_SUBRF(x) ((SCM (*)()) SCM_CELL_WORD_1 (x))
 #define SCM_SET_SUBRF(x, v) (SCM_SET_CELL_WORD_1 ((x), (v)))
 #define SCM_DSUBRF(x) ((double (*)()) SCM_CELL_WORD_1 (x))
+#define SCM_SUBR_GENERIC(x) (SCM_SUBR_ENTRY (x).generic)
 
 #define SCM_CCLO_LENGTH(x) (SCM_CELL_WORD_0 (x) >> 8)
 #define SCM_SET_CCLO_LENGTH(x, v) (SCM_SET_CELL_WORD_0 ((x), ((v) << 8) + 
scm_tc7_cclo))
@@ -85,9 +85,6 @@
 #define SCM_CCLO_SUBR(x) (SCM_CCLO_REF ((x), 0))
 #define SCM_SET_CCLO_SUBR(x, v) (SCM_CCLO_SET ((x), 0, (v)))
 
-#define SCM_SUBR_GENERIC(x) (SCM_SUBR_ENTRY (x).generic)
-#define SCM_SUBR_PROPS(x) (SCM_SUBR_ENTRY (x).properties)
-
 /* Closures
  */
 
@@ -191,6 +188,7 @@
 
 #if (SCM_DEBUG_DEPRECATED == 0)
 
+#define SCM_SUBR_PROPS(x) SCM_EOL
 #define SCM_SUBR_DOC(x) SCM_BOOL_F
 
 #endif  /* SCM_DEBUG_DEPRECATED == 0 */



reply via email to

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