summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-05-19 13:53:48 -0300
committerJohan Dahlin <johan@gnome.org>2010-05-19 13:53:48 -0300
commit20122e9823dbeacd32abd0372d2f9a4ed98bf8c5 (patch)
tree45c5c9ccf5987bdf2da712fb2802f618f1e56a0a
parent39e36b1ccea2cc627e266f6f4c543dca930f8501 (diff)
downloadgobject-introspection-20122e9823dbeacd32abd0372d2f9a4ed98bf8c5.tar.gz
[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.
-rw-r--r--girepository/ginvoke.c2
-rw-r--r--girepository/gtypelib.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/girepository/ginvoke.c b/girepository/ginvoke.c
index 2d4c3f56..bae8da4f 100644
--- a/girepository/ginvoke.c
+++ b/girepository/ginvoke.c
@@ -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.
diff --git a/girepository/gtypelib.c b/girepository/gtypelib.c
index da7e5ee6..463996c3 100644
--- a/girepository/gtypelib.c
+++ b/girepository/gtypelib.c
@@ -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