diff options
author | Andy Wingo <wingo@pobox.com> | 2021-01-22 16:39:11 +0100 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2021-02-03 23:02:21 +0100 |
commit | 2e26538d6a51bdd6c2e68ad4539ab3750ef8670a (patch) | |
tree | 85f3f2ae182708804c673e95dc3a739d868771a5 /doc/ref/libguile-parallel.texi | |
parent | 480d86df6847deb55db6731811407c268d2254ed (diff) | |
download | guile-2e26538d6a51bdd6c2e68ad4539ab3750ef8670a.tar.gz |
Replace libltdl with raw dlopen, dlsym
* NEWS: Update.
* am/bootstrap.am (SOURCES):
* module/Makefile.am (SOURCES): Add system/foreign-library.scm.
* configure.ac: Replace ltdl check with -ldl check.
* libguile/dynl.c: Rewrite to just expose core dlopen / dlsym / etc to a
helper Scheme module.
(scm_dynamic_link, scm_dynamic_pointer, scm_dynamic_function)
(scm_dynamic_object_p, scm_dynamic_call): Rewrite in terms of (system
foreign-library).
* libguile/extensions.c (load_extension): Avoid scm_dynamic_call.
* module/system/foreign-library.scm: New file.
* module/oop/goops.scm (<dynamic-object>): Hackily export
<foreign-library> instead of a class here.
* doc/ref/api-foreign.texi (Foreign Function Interface): Rewrite to only
document the new interfaces. Eventually we will deprecate
dynamic-link and friends.
* doc/ref/guile.texi (API Reference): Move Foreign Objects after Foreign
Function Interface. Seems there should be some closer relationship
but this will do for now.
* doc/ref/tour.texi (Putting Extensions into Modules):
* doc/ref/libguile-parallel.texi (Parallel Installations): Update for
rename of Modules and Extensions to Foreign Extensions.
* libguile/deprecated.h:
* libguile/deprecated.c (scm_dynamic_unlink): Deprecate.
* libguile/guile.c: Remove ltdl include.
* test-suite/tests/foreign.test: Update tests to use new API, and update
error expectations.
Diffstat (limited to 'doc/ref/libguile-parallel.texi')
-rw-r--r-- | doc/ref/libguile-parallel.texi | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/ref/libguile-parallel.texi b/doc/ref/libguile-parallel.texi index 75fcd88ba..a3779a2a0 100644 --- a/doc/ref/libguile-parallel.texi +++ b/doc/ref/libguile-parallel.texi @@ -1,7 +1,7 @@ @c -*-texinfo-*- @c This is part of the GNU Guile Reference Manual. @c Copyright (C) 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2005, 2010, 2011, -@c 2013-2014 Free Software Foundation, Inc. +@c 2013-2014, 2021 Free Software Foundation, Inc. @c See the file guile.texi for copying conditions. @node Parallel Installations @@ -52,8 +52,8 @@ how to use it from Autoconf. @item extensiondir @cindex @code{extensiondir} The default directory where Guile looks for extensions---i.e., shared -libraries providing additional features (@pxref{Modules and -Extensions}). Run @command{pkg-config guile-@value{EFFECTIVE-VERSION} +libraries providing additional features (@pxref{Foreign Extensions}). +Run @command{pkg-config guile-@value{EFFECTIVE-VERSION} --variable=extensiondir} to see its value. @item guile |