diff options
author | Anders Svensson <[email protected]> | 2013-02-02 00:51:02 +0100 |
---|---|---|
committer | Anders Svensson <[email protected]> | 2013-02-08 19:28:47 +0100 |
commit | 2e422db2bf236fb5369cbfe54b6ccd727703b801 (patch) | |
tree | 6e9adda0f914888f7d6d692e60d266ef323db205 /lib/inets | |
parent | 61f9d7326380e7cf20c539e548cb4cbab2109b2a (diff) | |
download | otp-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