diff options
author | Ingela Anderton Andin <ingela@erlang.org> | 2017-04-06 16:03:11 +0200 |
---|---|---|
committer | Ingela Anderton Andin <ingela@erlang.org> | 2017-04-27 11:07:38 +0200 |
commit | c6bdd67b33b70d862e2a2d0f582106f2e930d970 (patch) | |
tree | 6d8f9b0661466c4c36d88e8ee7666c4b8a0754c0 /lib/stdlib/src/gen_fsm.erl | |
parent | a1100c46c2ca2121d723edc03cb7885e3014af7c (diff) | |
download | erlang-c6bdd67b33b70d862e2a2d0f582106f2e930d970.tar.gz |
stdlib: Deprecate gen_fsm
Diffstat (limited to 'lib/stdlib/src/gen_fsm.erl')
-rw-r--r-- | lib/stdlib/src/gen_fsm.erl | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/stdlib/src/gen_fsm.erl b/lib/stdlib/src/gen_fsm.erl index e925a75fe8..0c76e97741 100644 --- a/lib/stdlib/src/gen_fsm.erl +++ b/lib/stdlib/src/gen_fsm.erl @@ -124,6 +124,26 @@ system_replace_state/2, format_status/2]). +-deprecated({start, 3, next_major_release}). +-deprecated({start, 4, next_major_release}). +-deprecated({start_link, 3, next_major_release}). +-deprecated({start_link, 4, next_major_release}). +-deprecated({stop, 1, next_major_release}). +-deprecated({stop, 3, next_major_release}). +-deprecated({send_event, 2, next_major_release}). +-deprecated({sync_send_event, 2, next_major_release}). +-deprecated({sync_send_event, 3, next_major_release}). +-deprecated({send_all_state_event, 2, next_major_release}). +-deprecated({sync_send_all_state_event, 2, next_major_release}). +-deprecated({sync_send_all_state_event, 3, next_major_release}). +-deprecated({reply, 2, next_major_release}). +-deprecated({start_timer, 2, next_major_release}). +-deprecated({send_event_after, 2, next_major_release}). +-deprecated({cancel_timer, 1, next_major_release}). +-deprecated({enter_loop, 4, next_major_release}). +-deprecated({enter_loop, 5, next_major_release}). +-deprecated({enter_loop, 6, next_major_release}). + -import(error_logger, [format/2]). %%% --------------------------------------------------- |