From 425889ba69b69a9b6fb14bfbef121d51b78e853a Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Tue, 23 Apr 2019 17:38:37 +0200 Subject: Prepare release --- lib/erl_interface/doc/src/ei.xml | 6 +-- lib/erl_interface/doc/src/notes.xml | 76 +++++++++++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+), 3 deletions(-) (limited to 'lib/erl_interface/doc') diff --git a/lib/erl_interface/doc/src/ei.xml b/lib/erl_interface/doc/src/ei.xml index 254ae27cc8..18f74d2655 100644 --- a/lib/erl_interface/doc/src/ei.xml +++ b/lib/erl_interface/doc/src/ei.xml @@ -183,7 +183,7 @@ typedef enum { - intei_decode_bitstring(const char *buf, int *index, void *p, size_t plen, size_t *bitsp) + intei_decode_bitstring(const char *buf, int *index, void *p, size_t plen, size_t *bitsp) Decode a bitstring.

Decodes a bitstring from the binary format.

@@ -490,8 +490,8 @@ typedef enum {
- intei_encode_bitstring(char *buf, int *index, const void *p, size_t bits) - intei_x_encode_bitstring(ei_x_buff* x, const void *p, size_t bits) + intei_encode_bitstring(char *buf, int *index, const void *p, size_t bits) + intei_x_encode_bitstring(ei_x_buff* x, const void *p, size_t bits) Encode a bitstring.

Encodes a bitstring in the binary format. The data is at diff --git a/lib/erl_interface/doc/src/notes.xml b/lib/erl_interface/doc/src/notes.xml index fc6a1bb548..f6c4c68cb1 100644 --- a/lib/erl_interface/doc/src/notes.xml +++ b/lib/erl_interface/doc/src/notes.xml @@ -31,6 +31,82 @@

This document describes the changes made to the Erl_interface application.

+
Erl_Interface 3.12 + +
Fixed Bugs and Malfunctions + + +

+ The vxworks configure has been updated to respect the + environment CFLAGS.

+

+ Own Id: OTP-15773

+
+
+
+ + +
Improvements and New Features + + +

+ Minor adjustments made to build system for parallel + configure.

+

+ Own Id: OTP-15340 Aux Id: OTP-14625

+
+ +

+ The limited support for VxWorks is deprecated as of OTP + 22, and will be removed in OTP 23.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-15621

+
+ +

The old legacy erl_interface library (functions + with prefix erl_) is deprecated as of OTP 22, and + will be removed in OTP 23. This does not apply to the + ei library. Reasonably new gcc compilers + will issue deprecation warnings. In order to disable + these warnings, define the macro + EI_NO_DEPR_WARN.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-15622

+
+ +

Added support to receive, decode, encode and send both + bit strings and export funs (fun M:F/A).

+

New functions ei_decode_bitstring and + ei_encode_bitstring have been added in order to + decode and encode bit strings where number of bits is not + necessary divisible by 8 (a whole number of bytes). The + existing functions ei_decode_fun and + ei_encode_fun can now also handle export funs.

+

Before this change, bit strings and export funs sent + to an erl_interface c-node were encoded using an + undocumented fallback tuple format. For bit strings + {Binary,BitsInLastByte} and for export funs + {M,F}. Existing c-node implementations expecting + these tuples must be changed to instead use + ei_decode_bitstring and ei_decode_fun. As a + temporary solution you can also build erl_interface with + macro EI_COMPAT=21 or call + ei_set_compat_rel(21) to receive the old fallback + tuples.

+

+ *** POTENTIAL INCOMPATIBILITY ***

+

+ Own Id: OTP-15712 Aux Id: OTP-15774

+
+
+
+ +
+
Erl_Interface 3.11.2
Fixed Bugs and Malfunctions -- cgit v1.2.3