From 7e064720c1363ee4ca4209d7c8b0f33a90182ce7 Mon Sep 17 00:00:00 2001
From: Sverker Eriksson
Date: Fri, 5 Apr 2019 18:26:45 +0200
Subject: erl_interface: Deprecate ei_encode_term and ei_decode_term
as they use ETERM which is part of legacy erl_interface.
---
lib/erl_interface/doc/src/ei.xml | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
(limited to 'lib/erl_interface/doc/src')
diff --git a/lib/erl_interface/doc/src/ei.xml b/lib/erl_interface/doc/src/ei.xml
index f081ca926a..26fe6f8831 100644
--- a/lib/erl_interface/doc/src/ei.xml
+++ b/lib/erl_interface/doc/src/ei.xml
@@ -349,8 +349,10 @@ typedef enum {
t is actually an ETERM** (see
erl_eterm).
The term is later to be deallocated.
- Notice that this function is located in the Erl_Interface
- library.
+ This function is deprecated as of OTP 22 and will be removed in
+ OTP 23 together with the old legacy erl_interface library (functions
+ with prefix erl_).
+
@@ -656,6 +658,10 @@ ei_x_encode_string(&x, "Banana");
erl_interface. Parameter t is
actually an ETERM pointer. This function
does not free the ETERM.
+ These functions are deprecated as of OTP 22 and will be removed in
+ OTP 23 together with the old legacy erl_interface library
+ (functions with prefix erl_).
+
--
cgit v1.2.3