From f4450bdf225af39172d05881069e65fb61a7fd84 Mon Sep 17 00:00:00 2001 From: Nikodemus Siivola Date: Thu, 9 Dec 2004 11:40:58 +0000 Subject: [PATCH] 0.8.17.25: Missing export & documentation updates * buglet reported by Raymond Wiker * typo reported by Devon McCullough * remove text saying LOAD-SHARED-OBJECT must be called before loading the definitions --- BUGS | 5 +++-- doc/manual/ffi.texinfo | 5 ++--- package-data-list.lisp-expr | 1 + version.lisp-expr | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/BUGS b/BUGS index bd15399..95bad80 100644 --- a/BUGS +++ b/BUGS @@ -104,9 +104,10 @@ WORKAROUND: 32: The printer doesn't report closures very well. This is true in CMU CL 18b as well: - (PRINT #'CLASS-NAME) + (defstruct foo bar) + (print #'foo-bar) gives - # + # It would be nice to make closures have a settable name slot, and make things like DEFSTRUCT and FLET, which create closures, set helpful values into this slot. diff --git a/doc/manual/ffi.texinfo b/doc/manual/ffi.texinfo index 0b1f2c0..80e6a59 100644 --- a/doc/manual/ffi.texinfo +++ b/doc/manual/ffi.texinfo @@ -1119,7 +1119,7 @@ struct c_struct *c_function (i, s, r, a) printf("s = %s\n", s); printf("r->x = %d\n", r->x); printf("r->s = %s\n", r->s); - for (j = 0; j < 10; j++) printf("a[%d] = %d.\n", j, a[j]); + for (j = 0; j < 10; j++) printf("a[%d] = %d.\n", j, a[j]); r2 = (struct c_struct *) malloc (sizeof(struct c_struct)); r2->x = i + 5; r2->s = "a C string"; @@ -1190,8 +1190,7 @@ separately. You don't have to recompile every time.) @samp{(compile-file "test.lisp")} Within Lisp, load the foreign object file to define the necessary -symbols: @samp{(load-shared-object "test.so")}. This must be done -before loading any code that refers to these symbols. +symbols: @samp{(load-shared-object "test.so")}. Now you can load the compiled Lisp (``fasl'') file into Lisp: @samp{(load "test.fasl")} diff --git a/package-data-list.lisp-expr b/package-data-list.lisp-expr index 85678e5..8d692a3 100644 --- a/package-data-list.lisp-expr +++ b/package-data-list.lisp-expr @@ -1793,6 +1793,7 @@ SB-KERNEL) have been undone, but probably more remain." "DEALLOCATE-SYSTEM-MEMORY" "DEFAULT-INTERRUPT" "DEPORT-BOOLEAN" "DEPORT-INTEGER" + "DYNAMIC-FOREIGN-SYMBOLS" "DLOPEN-OR-LOSE" "FROB-DO-BODY" "ENABLE-INTERRUPT" "ENUMERATION" diff --git a/version.lisp-expr b/version.lisp-expr index 5da8755..e4e7fb6 100644 --- a/version.lisp-expr +++ b/version.lisp-expr @@ -17,4 +17,4 @@ ;;; checkins which aren't released. (And occasionally for internal ;;; versions, especially for internal versions off the main CVS ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".) -"0.8.17.24" +"0.8.17.25" -- 1.7.10.4