[docs] Reference g_module_open instead of dlopen

dlopen() is not cross platform, it's better to mention
g_module_open everywhere as that's actually what we call internally.
This commit is contained in:
Johan Dahlin 2010-05-19 13:53:48 -03:00
parent 456379be29
commit 3e473d93ca
2 changed files with 3 additions and 3 deletions

View File

@ -58,7 +58,7 @@ g_invoke_error_quark (void)
* argument lists. This function uses dlsym() to obtain a pointer
* to the function, so the library or shared object containing the
* described function must either be linked to the caller, or must
* have been dlopen()<!-- -->ed before calling this function.
* have been g_module_symbol()<!-- -->ed before calling this function.
*
* Returns: %TRUE if the function has been invoked, %FALSE if an
* error occurred.

View File

@ -1982,7 +1982,7 @@ _g_typelib_do_dlopen (GTypelib *typelib)
shlibs = g_strsplit (shlib_str, ",", 0);
/* We load all passed libs unconditionally as if the same library is loaded
* again with dlopen(), the same file handle will be returned. See bug:
* again with g_module_open(), the same file handle will be returned. See bug:
* http://bugzilla.gnome.org/show_bug.cgi?id=555294
*/
for (i = 0; shlibs[i]; i++)
@ -1990,7 +1990,7 @@ _g_typelib_do_dlopen (GTypelib *typelib)
GModule *module;
/* Glade's autoconnect feature and OpenGL's extension mechanism
* as used by Clutter rely on dlopen(NULL) to work as a means of
* as used by Clutter rely on g_module_open(NULL) to work as a means of
* accessing the app's symbols. This keeps us from using
* G_MODULE_BIND_LOCAL. BIND_LOCAL may have other issues as well;
* in general libraries are not expecting multiple copies of