aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_callback.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-08-24 11:51:44 +0200
committerAnders Svensson <[email protected]>2017-08-24 16:09:24 +0200
commit2d540b95755a6f628b0cfc5a9bab4ff41046fe4b (patch)
tree689d2a3e544219614c7118355f350aac30caa67f /lib/diameter/src/base/diameter_callback.erl
parent3c7e35ca4512088f0b4074f809f3110dfa285b8e (diff)
downloadotp-2d540b95755a6f628b0cfc5a9bab4ff41046fe4b.tar.gz
otp-2d540b95755a6f628b0cfc5a9bab4ff41046fe4b.tar.bz2
otp-2d540b95755a6f628b0cfc5a9bab4ff41046fe4b.zip
Rename type evaluable -> eval
Export the old type as a synonym for backwards compatability. The name evaluable is a bit too awkward.
Diffstat (limited to 'lib/diameter/src/base/diameter_callback.erl')
-rw-r--r--lib/diameter/src/base/diameter_callback.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/diameter/src/base/diameter_callback.erl b/lib/diameter/src/base/diameter_callback.erl
index f9cdc66c70..d04a416bef 100644
--- a/lib/diameter/src/base/diameter_callback.erl
+++ b/lib/diameter/src/base/diameter_callback.erl
@@ -26,16 +26,16 @@
%% as the Diameter application callback in question. The record has
%% one field for each callback function as well as 'default' and
%% 'extra' fields. A function-specific field can be set to a
-%% diameter:evaluable() in order to redirect the callback
+%% diameter:eval() in order to redirect the callback
%% corresponding to that field, or to 'false' to request the default
%% callback implemented in this module. If neither of these fields are
%% set then the 'default' field determines the form of the callback: a
%% module name results in the usual callback as if the module had been
-%% configured directly as the callback module, a diameter_evaluable()
+%% configured directly as the callback module, a diameter_eval()
%% in a callback applied to the atom-valued callback name and argument
%% list. For all callbacks not to this module, the 'extra' field is a
%% list of additional arguments, following arguments supplied by
-%% diameter but preceding those of the diameter:evaluable() being
+%% diameter but preceding those of the diameter:eval() being
%% applied.
%%
%% For example, the following config to diameter:start_service/2, in