From 292eb1b63dcd8794b468f11cdec55afdbd5c48f6 Mon Sep 17 00:00:00 2001
From: Anneli Cuss
Date: Wed, 7 Sep 2011 09:08:59 +1000
Subject: ei_decode_ei_term() returns 1 if index is incremented
This documentation is a bit perplexing when viewed in light of
erl_interface/src/misc/ei_decode_term.c.
---
lib/erl_interface/doc/src/ei.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
(limited to 'lib')
diff --git a/lib/erl_interface/doc/src/ei.xml b/lib/erl_interface/doc/src/ei.xml
index de4e4b4301..76e02a6858 100644
--- a/lib/erl_interface/doc/src/ei.xml
+++ b/lib/erl_interface/doc/src/ei.xml
@@ -581,9 +581,9 @@ ei_x_encode_empty_list(&x);
union, it is decoded, and the appropriate field
in value]]> is set, and is
incremented by the term size.
- The function returns 0 on successful decoding, -1 on error,
- and 1 if the term seems alright, but does not fit in the
- structure. If it returns 0, the
+
The function returns 1 on successful decoding, -1 on error,
+ and 0 if the term seems alright, but does not fit in the
+ structure. If it returns 1, the
will be incremented, and the contains the
decoded term.
The structure will contain the arity for a tuple
--
cgit v1.2.3