diff options
author | Björn Gustavsson <[email protected]> | 2014-02-20 14:29:57 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2014-02-21 12:20:39 +0100 |
commit | e5c71b7f176393cdb3f6b9d17a5969e9bd89c88b (patch) | |
tree | 0ae4680c17b76f776fdcaf33233a264503083a54 /lib/stdlib/src/otp_internal.erl | |
parent | 687d9c05f94e807537ee397157b68653d1ddf231 (diff) | |
download | otp-e5c71b7f176393cdb3f6b9d17a5969e9bd89c88b.tar.gz otp-e5c71b7f176393cdb3f6b9d17a5969e9bd89c88b.tar.bz2 otp-e5c71b7f176393cdb3f6b9d17a5969e9bd89c88b.zip |
Deprecate asn1 functions
Those asn1 functions are no longer needed because they all have
better alternatives.
Diffstat (limited to 'lib/stdlib/src/otp_internal.erl')
-rw-r--r-- | lib/stdlib/src/otp_internal.erl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/stdlib/src/otp_internal.erl b/lib/stdlib/src/otp_internal.erl index cebc9c91bd..380bc3eccc 100644 --- a/lib/stdlib/src/otp_internal.erl +++ b/lib/stdlib/src/otp_internal.erl @@ -577,6 +577,24 @@ obsolete_1(wxCursor, new, 3) -> obsolete_1(wxCursor, new, 4) -> {deprecated,"deprecated function not available in wxWidgets-2.9 and later"}; +%% Added in OTP 17. +obsolete_1(asn1ct, decode,3) -> + {deprecated,"deprecated; use Mod:decode/2 instead"}; +obsolete_1(asn1ct, encode, 3) -> + {deprecated,"deprecated; use Mod:encode/2 instead"}; +obsolete_1(asn1rt, decode,3) -> + {deprecated,"deprecated; use Mod:decode/2 instead"}; +obsolete_1(asn1rt, encode, 2) -> + {deprecated,"deprecated; use Mod:encode/2 instead"}; +obsolete_1(asn1rt, encode, 3) -> + {deprecated,"deprecated; use Mod:encode/2 instead"}; +obsolete_1(asn1rt, info, 1) -> + {deprecated,"deprecated; use Mod:info/0 instead"}; +obsolete_1(asn1rt, utf8_binary_to_list, 1) -> + {deprecated,{unicode,characters_to_list,1}}; +obsolete_1(asn1rt, utf8_list_to_binary, 1) -> + {deprecated,{unicode,characters_to_binary,1}}; + obsolete_1(_, _, _) -> no. |