aboutsummaryrefslogtreecommitdiffstats
path: root/lib/inets
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-02-02 00:51:02 +0100
committerAnders Svensson <[email protected]>2013-02-08 19:28:47 +0100
commit2e422db2bf236fb5369cbfe54b6ccd727703b801 (patch)
tree6e9adda0f914888f7d6d692e60d266ef323db205 /lib/inets
parent61f9d7326380e7cf20c539e548cb4cbab2109b2a (diff)
downloadotp-2e422db2bf236fb5369cbfe54b6ccd727703b801.tar.gz
otp-2e422db2bf236fb5369cbfe54b6ccd727703b801.tar.bz2
otp-2e422db2bf236fb5369cbfe54b6ccd727703b801.zip
Add exprecs '#get-'/1 for transforming records into lists
The generated '#get-'/1 has one clause for each exported record r, whose definition is equivalent to the following. '#get-'(#r{} = Rec) -> [r | lists:zip(record_info(r, fields), tl(tuple_to_list(Rec)))]; The record name at the head of the list is the same format that diameter accepts for outgoing message.
Diffstat (limited to 'lib/inets')
0 files changed, 0 insertions, 0 deletions