[Top][All Lists]
[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: |
Thu, 28 Dec 2000 07:09:57 -0800 |
CVSROOT: /cvs
Module name: guile
Changes by: Dirk Herrmann <address@hidden> 00/12/28 07:09:56
Modified files:
guile-core : NEWS RELEASE
guile-core/libguile: ChangeLog procs.c procs.h
Log message:
* Re-introduces the unused member "documentation" of struct
scm_subr_entry.
CVSWeb URLs:
http://subversions.gnu.org/cgi-bin/cvsweb/guile/guile-core/NEWS.diff?r1=1.234&r2=1.235
http://subversions.gnu.org/cgi-bin/cvsweb/guile/guile-core/RELEASE.diff?r1=1.83&r2=1.84
http://subversions.gnu.org/cgi-bin/cvsweb/guile/guile-core/libguile/ChangeLog.diff?r1=1.1221&r2=1.1222
http://subversions.gnu.org/cgi-bin/cvsweb/guile/guile-core/libguile/procs.c.diff?r1=1.49&r2=1.50
http://subversions.gnu.org/cgi-bin/cvsweb/guile/guile-core/libguile/procs.h.diff?r1=1.36&r2=1.37
Patches:
Index: guile/guile-core/NEWS
diff -u guile/guile-core/NEWS:1.234 guile/guile-core/NEWS:1.235
--- guile/guile-core/NEWS:1.234 Sat Dec 23 15:00:23 2000
+++ guile/guile-core/NEWS Thu Dec 28 07:09:56 2000
@@ -330,8 +330,7 @@
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_SUBR_PROPS
+SCM_SETGC8MARK, SCM_CLRGC8MARK, SCM_GCTYP16, SCM_GCCDR, SCM_SUBR_DOC
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.83 guile/guile-core/RELEASE:1.84
--- guile/guile-core/RELEASE:1.83 Sat Dec 23 03:38:06 2000
+++ guile/guile-core/RELEASE Thu Dec 28 07:09:56 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_PROPS
+ SCM_SUBR_DOC
- 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.1221
guile/guile-core/libguile/ChangeLog:1.1222
--- guile/guile-core/libguile/ChangeLog:1.1221 Thu Dec 28 06:26:11 2000
+++ guile/guile-core/libguile/ChangeLog Thu Dec 28 07:09:56 2000
@@ -1,3 +1,15 @@
+2000-12-28 Dirk Herrmann <address@hidden>
+
+ This patch re-introduces the unused member "documentation" of
+ struct scm_subr_entry as requested by Mikael Djurfeldt.
+
+ * procs.h (scm_subr_entry): Re-introduced member "documentation".
+
+ (SCM_SUBR_DOC): Un-deprecated.
+
+ * procs.c (scm_make_subr_opt, scm_mark_subr_table): Struct
+ scm_subr_entry has a member "documentation" again.
+
2000-12-28 Michael Livshin <address@hidden>
* guardians.c (mark_dependencies_in_tconc): new function.
Index: guile/guile-core/libguile/procs.c
diff -u guile/guile-core/libguile/procs.c:1.49
guile/guile-core/libguile/procs.c:1.50
--- guile/guile-core/libguile/procs.c:1.49 Sat Dec 23 03:38:06 2000
+++ guile/guile-core/libguile/procs.c Thu Dec 28 07:09:56 2000
@@ -102,6 +102,7 @@
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);
@@ -148,6 +149,8 @@
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.36
guile/guile-core/libguile/procs.h:1.37
--- guile/guile-core/libguile/procs.h:1.36 Sat Dec 23 03:38:06 2000
+++ guile/guile-core/libguile/procs.h Thu Dec 28 07:09:56 2000
@@ -62,6 +62,7 @@
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)
@@ -72,6 +73,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_PROPS(x) (SCM_SUBR_ENTRY (x).properties)
#define SCM_SUBR_GENERIC(x) (SCM_SUBR_ENTRY (x).generic)
#define SCM_CCLO_LENGTH(x) (SCM_CELL_WORD_0 (x) >> 8)
@@ -188,7 +190,6 @@
#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 */