[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch] libtool.texi fix: lt_dlopenadvise 2nd arg, doc+example
From: |
Thien-Thi Nguyen |
Subject: |
[patch] libtool.texi fix: lt_dlopenadvise 2nd arg, doc+example |
Date: |
Fri, 18 Apr 2008 13:51:11 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Here's a suitable ChangeLog entry:
* libtool.texi (Libltdl interface): For `lt_dlopenadvise',
document second arg without pointer. Update example code
in `lt_dladvise_ext' @deftypefun, as well.
thi
___________________________________
--- a/doc/libtool.texi
+++ b/doc/libtool.texi
@@ -3685,7 +3685,7 @@ to be able to @code{dlopen} such libraries as well as
libtool modules
transparently.
@end deftypefun
address@hidden lt_dlhandle lt_dlopenadvise (const char address@hidden,
@w{lt_dladvise address@hidden)
address@hidden lt_dlhandle lt_dlopenadvise (const char address@hidden,
@w{lt_dladvise @var{advise}})
The same as @code{lt_dlopen}, except that it also requires an additional
argument which may contain additional hints to the underlying system
module loader. The @var{advise} parameter is opaque and can only be
@@ -3727,7 +3727,7 @@ my_dlopenext (const char *filename)
lt_dladvise advise;
if (!lt_dladvise_init (&advise) && !lt_dladvise_ext (&advise))
- handle = lt_dlopenadvise (filename, &advise);
+ handle = lt_dlopenadvise (filename, advise);
lt_dladvise_destroy (&advise);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [patch] libtool.texi fix: lt_dlopenadvise 2nd arg, doc+example,
Thien-Thi Nguyen <=