~clint-fewbar/ubuntu/precise/erlang/merge-15b

« back to all changes in this revision

Viewing changes to lib/erl_interface/doc/src/ei.xml

  • Committer: Package Import Robot
  • Author(s): Sergei Golovan
  • Date: 2011-12-15 19:20:10 UTC
  • mfrom: (1.1.18) (3.5.15 sid)
  • mto: (3.5.16 sid)
  • mto: This revision was merged to the branch mainline in revision 33.
  • Revision ID: package-import@ubuntu.com-20111215192010-jnxcfe3tbrpp0big
Tags: 1:15.b-dfsg-1
* New upstream release.
* Upload to experimental because this release breaks external drivers
  API along with ABI, so several applications are to be fixed.
* Removed SSL patch because the old SSL implementation is removed from
  the upstream distribution.
* Removed never used patch which added native code to erlang beam files.
* Removed the erlang-docbuilder binary package because the docbuilder
  application was dropped by upstream.
* Documented dropping ${erlang-docbuilder:Depends} substvar in
  erlang-depends(1) manpage.
* Made erlang-base and erlang-base-hipe provide virtual package
  erlang-abi-15.b (the number means the first erlang version, which
  provides current ABI).

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
<cref>
5
5
  <header>
6
6
    <copyright>
7
 
      <year>2001</year><year>2010</year>
 
7
      <year>2001</year><year>2011</year>
8
8
      <holder>Ericsson AB. All Rights Reserved.</holder>
9
9
    </copyright>
10
10
    <legalnotice>
581
581
          <c><![CDATA[term]]></c> union, it is decoded, and the appropriate field
582
582
          in <c><![CDATA[term->value]]></c> is set, and <c><![CDATA[*index]]></c> is
583
583
          incremented by the term size.</p>
584
 
        <p>The function returns 0 on successful decoding, -1 on error,
585
 
          and 1 if the term seems alright, but does not fit in the
586
 
          <c><![CDATA[term]]></c> structure. If it returns 0, the <c><![CDATA[index]]></c>
 
584
        <p>The function returns 1 on successful decoding, -1 on error,
 
585
          and 0 if the term seems alright, but does not fit in the
 
586
          <c><![CDATA[term]]></c> structure. If it returns 1, the <c><![CDATA[index]]></c>
587
587
          will be incremented, and the <c><![CDATA[term]]></c> contains the
588
588
          decoded term.</p>
589
589
        <p>The <c><![CDATA[term]]></c> structure will contain the arity for a tuple
641
641
        <p></p>
642
642
        <pre>
643
643
~a - an atom, char*
 
644
~c - a character, char
644
645
~s - a string, char*
645
646
~i - an integer, int
646
647
~l - a long integer, long int
647
648
~u - a unsigned long integer, unsigned long int
648
649
~f - a float, float
649
650
~d - a double float, double float
 
651
~p - an Erlang PID, erlang_pid*
650
652
        </pre>
651
653
        <p>For instance, to encode a tuple with some stuff:</p>
652
654
        <pre>