diff options
author | Björn Gustavsson <[email protected]> | 2014-02-24 11:56:45 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2014-02-24 11:56:45 +0100 |
commit | e70a2dc2e0fc2ef38a7cdf5bbf13313408003cea (patch) | |
tree | 124d3d098d88887146a1219179240e4c01bb93db /lib/asn1/doc/src/asn1ct.xml | |
parent | f56c221205f6e74f027dd74c86ba5ae1e504d318 (diff) | |
parent | 1bdb47b00faff39994a041c6d9a291a2c68143d9 (diff) | |
download | otp-e70a2dc2e0fc2ef38a7cdf5bbf13313408003cea.tar.gz otp-e70a2dc2e0fc2ef38a7cdf5bbf13313408003cea.tar.bz2 otp-e70a2dc2e0fc2ef38a7cdf5bbf13313408003cea.zip |
Merge branch 'bjorn/asn1/deprecations/OTP-11731'
* bjorn/asn1/deprecations/OTP-11731:
Remove or de-emphasize references to the deprecated asn1rt module
Deprecate asn1 functions
Diffstat (limited to 'lib/asn1/doc/src/asn1ct.xml')
-rw-r--r-- | lib/asn1/doc/src/asn1ct.xml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/asn1/doc/src/asn1ct.xml b/lib/asn1/doc/src/asn1ct.xml index 5871c8ad68..4d5a1a402a 100644 --- a/lib/asn1/doc/src/asn1ct.xml +++ b/lib/asn1/doc/src/asn1ct.xml @@ -61,7 +61,7 @@ and <c>uper_bin</c> options will still work, but will print a warning. </p> <p>Another change in R16 is that the generated <c>encode/2</c> - function (and <c>asn1rt:encode/3</c>) always returns a binary. + function always returns a binary. The <c>encode/2</c> function for the BER back-end used to return an iolist.</p> </note> @@ -326,6 +326,8 @@ File3.asn </pre> not always checked. Returns <c>{ok, Bytes}</c> if successful or <c>{error, Reason}</c> if an error occurred. </p> + <p>This function is deprecated. + Use <c>Module:encode(Type, Value)</c> instead.</p> </desc> </func> <func> @@ -339,6 +341,8 @@ File3.asn </pre> <desc> <p>Decodes <c>Type</c> from <c>Module</c> from the binary <c>Bytes</c>. Returns <c>{ok, Value}</c> if successful.</p> + <p>This function is deprecated. + Use <c>Module:decode(Type, Bytes)</c> instead.</p> </desc> </func> <func> |