diff options
author | Andy Wingo <wingo@pobox.com> | 2010-08-06 13:41:58 +0200 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2010-08-06 13:41:58 +0200 |
commit | ba270f8c267f8886636939078a4c6f6b1f8107cd (patch) | |
tree | a60257330e7145fd366ccc26d023512f193820e0 | |
parent | 869bfe86af41ad92261128a1784bfb6638f78484 (diff) | |
download | guile-ba270f8c267f8886636939078a4c6f6b1f8107cd.tar.gz |
remove type discusison from dynamic-pointer docstring
* doc/ref/api-foreign.texi:
* libguile/dynl.c (scm_dynamic_pointer): Remove discussion of types from
the docstring.
-rw-r--r-- | doc/ref/api-foreign.texi | 5 | ||||
-rw-r--r-- | libguile/dynl.c | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/doc/ref/api-foreign.texi b/doc/ref/api-foreign.texi index 0fb06d7eb..9c3bf7841 100644 --- a/doc/ref/api-foreign.texi +++ b/doc/ref/api-foreign.texi @@ -514,11 +514,6 @@ Return a ``wrapped pointer'' for the symbol @var{name} in the shared object referred to by @var{dobj}. The returned pointer points to a C object. -This facility works by asking the dynamic linker for the address of a symbol, -then assuming that it aliases a value of a given type. Obviously, the user must -be very careful to ensure that the value actually is of the declared type, or -bad things will happen. - Regardless whether your C compiler prepends an underscore @samp{_} to the global names in a program, you should @strong{not} include this underscore in @var{name} since it will be added automatically when necessary. diff --git a/libguile/dynl.c b/libguile/dynl.c index 2b1d656a6..dd1e0d3f8 100644 --- a/libguile/dynl.c +++ b/libguile/dynl.c @@ -240,11 +240,6 @@ SCM_DEFINE (scm_dynamic_pointer, "dynamic-pointer", 2, 0, 0, "Return a ``wrapped pointer'' to the symbol @var{name}\n" "in the shared object referred to by @var{dobj}. The returned\n" "pointer points to a C object.\n\n" - "This facility works by asking the dynamic linker for\n" - "the address of a symbol, then assuming that it aliases a\n" - "value of a given type. Obviously, the user must be very\n" - "careful to ensure that the value actually is of the\n" - "declared type, or bad things will happen.\n\n" "Regardless whether your C compiler prepends an underscore\n" "@samp{_} to the global names in a program, you should\n" "@strong{not} include this underscore in @var{name}\n" |