~ubuntu-branches/debian/squeeze/glib2.0/squeeze

« back to all changes in this revision

Viewing changes to docs/reference/glib/xml/hooks.xml

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2009-10-08 18:34:23 UTC
  • mfrom: (1.7.1 upstream) (75.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20091008183423-w05jzgycqjo2lh1y
Tags: 2.22.2-2
* debian/patches/90_mimetype-sorting.patch:
  + Fix sorting of mimetypes by weight. Highest weight means most
    important, not the other way around. Patch from upstream GIT.

Show diffs side-by-side

added added

removed removed

Lines of Context:
724
724
</variablelist></refsect2>
725
725
<refsect2 id="G-HOOK-FLAGS--CAPS" role="macro">
726
726
<title>G_HOOK_FLAGS()</title>
727
 
<indexterm zone="G-HOOK-FLAGS--CAPS"><primary sortas="HOOK_FLAGS">G_HOOK_FLAGS</primary></indexterm><programlisting>#define     G_HOOK_FLAGS(hook)              (G_HOOK (hook)-&gt;flags)
728
 
</programlisting>
 
727
<indexterm zone="G-HOOK-FLAGS--CAPS"><primary sortas="HOOK_FLAGS">G_HOOK_FLAGS</primary></indexterm><programlisting>#define             G_HOOK_FLAGS(hook)</programlisting>
729
728
<para>
730
729
Returns the flags of a hook.
731
730
</para><variablelist role="params">
735
734
</variablelist></refsect2>
736
735
<refsect2 id="G-HOOK-FLAG-USER-SHIFT--CAPS" role="macro">
737
736
<title>G_HOOK_FLAG_USER_SHIFT</title>
738
 
<indexterm zone="G-HOOK-FLAG-USER-SHIFT--CAPS"><primary sortas="HOOK_FLAG_USER_SHIFT">G_HOOK_FLAG_USER_SHIFT</primary></indexterm><programlisting>#define G_HOOK_FLAG_USER_SHIFT        (4)
739
 
</programlisting>
 
737
<indexterm zone="G-HOOK-FLAG-USER-SHIFT--CAPS"><primary sortas="HOOK_FLAG_USER_SHIFT">G_HOOK_FLAG_USER_SHIFT</primary></indexterm><programlisting>#define             G_HOOK_FLAG_USER_SHIFT</programlisting>
740
738
<para>
741
739
The position of the first bit which is not reserved for internal
742
740
use be the <link linkend="GHook"><type>GHook</type></link> implementation, i.e.
745
743
</para></refsect2>
746
744
<refsect2 id="G-HOOK--CAPS" role="macro">
747
745
<title>G_HOOK()</title>
748
 
<indexterm zone="G-HOOK--CAPS"><primary sortas="HOOK">G_HOOK</primary></indexterm><programlisting>#define       G_HOOK(hook)                    ((GHook*) (hook))
749
 
</programlisting>
 
746
<indexterm zone="G-HOOK--CAPS"><primary sortas="HOOK">G_HOOK</primary></indexterm><programlisting>#define             G_HOOK(hook)</programlisting>
750
747
<para>
751
748
Casts a pointer to a <literal>GHook*</literal>.
752
749
</para><variablelist role="params">