2004-11-09 Ralf Wildenhues * doc/libtool.texi (User defined module data, References): indentation and word-wrap cleanup. --- doc/libtool.texi 30 Sep 2004 21:27:30 -0000 1.172 +++ doc/libtool.texi 8 Nov 2004 22:09:54 -0000 @@ -3659,12 +3659,12 @@ function returns @code{NULL}. @example - lt_dlhandle handle = 0; +lt_dlhandle handle = 0; - while ((handle = lt_dlhandle_next (handle))) - @{ - @dots{} - @} +while ((handle = lt_dlhandle_next (handle))) + @{ + @dots{} + @} @end example @end deftypefun @@ -3710,21 +3710,21 @@ For example, to correctly remove some associated data: @example - lt_ptr stale = lt_dlcaller_set_data (key, handle, 0); - if (stale != NULL) - @{ - free (stale); - @} - else - @{ - char *error_msg = lt_dlerror (); +lt_ptr stale = lt_dlcaller_set_data (key, handle, 0); +if (stale != NULL) + @{ + free (stale); + @} +else + @{ + char *error_msg = lt_dlerror (); - if (error_msg != NULL) - @{ - my_error_handler (error_msg); - return STATUS_FAILED; - @} + if (error_msg != NULL) + @{ + my_error_handler (error_msg); + return STATUS_FAILED; @} + @} @end example @end deftypefun @@ -3786,19 +3786,19 @@ validator callback function: @example - /* @r{Register for a} caller_id @r{to identify ourselves to} libltdl. */ - caller_id = lt_dlcaller_register ("example", iface_validator_callback); +/* @r{Register for a} caller_id @r{to identify ourselves to} libltdl. */ +caller_id = lt_dlcaller_register ("example", iface_validator_callback); @dots{} - /* @r{Iterate over the modules related to my} caller_id. */ - @{ - lt_dlhandle handle = lt_dlhandle_first (caller_id); +/* @r{Iterate over the modules related to my} caller_id. */ address@hidden + lt_dlhandle handle = lt_dlhandle_first (caller_id); - while ((handle = lt_dlhandle_next (handle))) - @{ - @dots{} - @} - @} + while ((handle = lt_dlhandle_next (handle))) + @{ + @dots{} + @} address@hidden @end example @end deftypefun @@ -3949,11 +3949,9 @@ work. Returns 0 for success. @example address@hidden - /* Make myloader be the last one. */ - if (lt_dlloader_add (NULL, myloader) != 0) - perror (lt_dlerror ()); address@hidden +/* Make myloader be the last one. */ +if (lt_dlloader_add (NULL, myloader) != 0) + perror (lt_dlerror ()); @end example @end deftypefun @@ -3964,11 +3962,9 @@ be obtained from @code{lt_dlerror}. @example address@hidden - /* Remove myloader. */ - if (lt_dlloader_remove ("myloader") != 0) - perror (lt_dlerror ()); address@hidden +/* Remove myloader. */ +if (lt_dlloader_remove ("myloader") != 0) + perror (lt_dlerror ()); @end example @end deftypefun @@ -3978,11 +3974,9 @@ @code{lt_dlloader_add}. @example address@hidden - /* Make myloader be the first one. */ - if (lt_dlloader_add (lt_dlloader_next (NULL), myloader) != 0) - return ERROR; address@hidden +/* Make myloader be the first one. */ +if (lt_dlloader_add (lt_dlloader_next (NULL), myloader) != 0) + return ERROR; @end example @end deftypefun @@ -3996,12 +3990,10 @@ @code{LoadLibrary} for example}, @dfn{dld} and @dfn{dlpreload}. @example address@hidden - /* Add a user loader as the next module loader to be tried if - the standard dlopen loader were to fail when lt_dlopening. */ - if (lt_dlloader_add (lt_dlloader_find ("dlopen"), myloader) != 0) - return ERROR; address@hidden +/* Add a user loader as the next module loader to be tried if + the standard dlopen loader were to fail when lt_dlopening. */ +if (lt_dlloader_add (lt_dlloader_find ("dlopen"), myloader) != 0) + return ERROR; @end example @end deftypefun @@ -4745,7 +4737,7 @@ @itemize @bullet @item SGI's IRIX Manual Pages, which can be found at address@hidden://techpubs.sgi.com/cgi-bin/infosrch.cgi?cmd=browse&db=man}. address@hidden://techpubs.sgi.com/cgi-bin/@/infosrch.cgi?cmd=browse&db=man}. @item Sun's free service area @@ -4754,9 +4746,9 @@ @item Compaq's Tru64 UNIX online documentation is at -(@url{http://tru64unix.compaq.com/faqs/publications/pub_page/doc_list.html}) +(@url{http://tru64unix.compaq.com/@/faqs/publications/pub_page/doc_list.html}) with C++ documentation at -(@url{http://tru64unix.compaq.com/cplus/docs/index.htm}). +(@url{http://tru64unix.compaq.com/@/cplus/docs/index.htm}). @item Hewlett-Packard has online documentation at