summaryrefslogtreecommitdiffstats
path: root/docs/reference/pygio-constants.xml
diff options
context:
space:
mode:
authorGian Mario Tagliaretti <gianmt@gnome.org>2009-06-15 23:02:34 +0200
committerGian Mario Tagliaretti <gianmt@gnome.org>2009-06-15 23:03:50 +0200
commit5c36ef20dca8cd1793f2d3e88949675299097f40 (patch)
tree8311205c63ede9705ddc195982f7a8a31f04ec68 /docs/reference/pygio-constants.xml
parenta8b36c343c6850af929c1d5a930f923831b4e637 (diff)
downloadpygobject-5c36ef20dca8cd1793f2d3e88949675299097f40.tar.gz
pygobject-5c36ef20dca8cd1793f2d3e88949675299097f40.tar.xz
pygobject-5c36ef20dca8cd1793f2d3e88949675299097f40.zip
Add dpcs for class gio.DataInputStream
Diffstat (limited to 'docs/reference/pygio-constants.xml')
-rw-r--r--docs/reference/pygio-constants.xml66
1 files changed, 66 insertions, 0 deletions
diff --git a/docs/reference/pygio-constants.xml b/docs/reference/pygio-constants.xml
index f716e25..343927e 100644
--- a/docs/reference/pygio-constants.xml
+++ b/docs/reference/pygio-constants.xml
@@ -14,6 +14,8 @@
<programlisting>
<xref linkend="gio-app-info-constants" endterm="gio-app-info-constants-title"></xref>
<xref linkend="gio-ask-password-flags-constants" endterm="gio-ask-password-flags-constants-title"></xref>
+<xref linkend="gio-data-stream-byte-order-constants" endterm="gio-data-stream-byte-order-constants-title"></xref>
+<xref linkend="gio-data-stream-newline-type-constants" endterm="gio-data-stream-newline-type-constants-title"></xref>
<xref linkend="gio-emblem-origin-constants" endterm="gio-emblem-origin-constants-title"></xref>
<xref linkend="gio-error-constants" endterm="gio-error-constants-title"></xref>
<xref linkend="gio-file-attribute-constants" endterm="gio-file-attribute-constants-title"></xref>
@@ -106,6 +108,70 @@
</variablelist>
</refsect2>
+ <refsect2 id="gio-data-stream-byte-order-constants">
+ <title id="gio-data-stream-byte-order-constants-title">Gio Data Stream Byte Order Constants</title>
+
+ <para>
+ Used to ensure proper endianness of streaming data sources across various machine architectures.
+ </para>
+
+ <variablelist>
+ <varlistentry>
+ <term><literal>gio.DATA_STREAM_BYTE_ORDER_BIG_ENDIAN</literal></term>
+ <listitem>
+ <simpara>Selects Big Endian byte order.</simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><literal>gio.DATA_STREAM_BYTE_ORDER_HOST_ENDIAN</literal></term>
+ <listitem>
+ <simpara>Selects endianness based on host machine's architecture.</simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><literal>gio.DATA_STREAM_BYTE_ORDER_LITTLE_ENDIAN</literal></term>
+ <listitem>
+ <simpara>Selects Little Endian byte order.</simpara>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+
+ <refsect2 id="gio-data-stream-newline-type-constants">
+ <title id="gio-data-stream-newline-type-constants-title">Gio Data Stream Newline Type Constants</title>
+
+ <para>
+ Used when checking for or setting the line endings for a given file.
+ </para>
+
+ <variablelist>
+ <varlistentry>
+ <term><literal>gio.DATA_STREAM_NEWLINE_TYPE_LF</literal></term>
+ <listitem>
+ <simpara>Selects "LF" line endings, common on most modern UNIX platforms.</simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><literal>gio.DATA_STREAM_NEWLINE_TYPE_CR</literal></term>
+ <listitem>
+ <simpara>Selects "CR" line endings.</simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><literal>gio.DATA_STREAM_NEWLINE_TYPE_CR_LF</literal></term>
+ <listitem>
+ <simpara>Selects "CR, LF" line ending, common on Microsoft Windows.</simpara>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><literal>gio.DATA_STREAM_NEWLINE_TYPE_ANY</literal></term>
+ <listitem>
+ <simpara>Automatically try to handle any line ending type.</simpara>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refsect2>
+
<refsect2 id="gio-emblem-origin-constants">
<title id="gio-emblem-origin-constants-title">Gio Emblem Origin Constants</title>