documented G_DEBUG flags resident-modules and bind-now-modules, patch by
authorTim Janik <timj@imendio.com>
Mon, 11 Sep 2006 13:10:44 +0000 (13:10 +0000)
committerTim Janik <timj@src.gnome.org>
Mon, 11 Sep 2006 13:10:44 +0000 (13:10 +0000)
Mon Sep 11 14:57:46 2006  Tim Janik  <timj@imendio.com>

        * glib/running.sgml: documented G_DEBUG flags resident-modules
        and bind-now-modules, patch by Christian Persch on bug #345099.

docs/reference/ChangeLog
docs/reference/glib/running.sgml

index 073401e..5b3674b 100644 (file)
@@ -1,3 +1,8 @@
+Mon Sep 11 14:57:46 2006  Tim Janik  <timj@imendio.com>
+
+       * glib/running.sgml: documented G_DEBUG flags resident-modules
+       and bind-now-modules, patch by Christian Persch on bug #345099.
+
 2006-09-10  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/glib-sections.txt: Add new functions
index 5600700..e38178c 100644 (file)
@@ -91,6 +91,30 @@ variables like <envar>LANG</envar>, <envar>PATH</envar> or <envar>HOME</envar>.
                </para>
         </listitem>
       </varlistentry>
+      <varlistentry>
+        <term>resident-modules</term>
+       <listitem>
+         <para>
+           All modules loaded by GModule will be made resident. This can be useful
+           for tracking memory leaks in modules which are later unloaded; but it can
+           also hide bugs where code is accessed after the module would have normally
+           been unloaded.
+           This option is special in that it doesn't require GLib to be
+           configured with debugging support.
+         </para>
+        </listitem>
+      </varlistentry>
+      <varlistentry>
+        <term>bind-now-modules</term>
+       <listitem>
+         <para>
+           All modules loaded by GModule will bind their symbols at load time, even
+           when the code uses %G_MODULE_BIND_LAZY.
+           This option is special in that it doesn't require GLib to be
+           configured with debugging support.
+         </para>
+        </listitem>
+      </varlistentry>
     </variablelist>
   </para>
 </formalpara>