diff options
author | Björn Gustavsson <[email protected]> | 2013-09-24 10:28:16 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-09-27 10:44:49 +0200 |
commit | 0f430abcb189988a7faf55386557b2b74afa6f56 (patch) | |
tree | 71915a21f54b442c32fcfbc880872cc7c98b6561 /lib/asn1/test/test_selective_decode.erl | |
parent | e5210c4bc75f561383ec4f94e3dce15440f1c269 (diff) | |
download | otp-0f430abcb189988a7faf55386557b2b74afa6f56.tar.gz otp-0f430abcb189988a7faf55386557b2b74afa6f56.tar.bz2 otp-0f430abcb189988a7faf55386557b2b74afa6f56.zip |
Teach the ASN.1 compiler the no_ok_wrapper option
Add the no_ok_wrapper option so that the generated M:encode/2 and
M:decode/2 functions will not wrap a successful return value in an
{ok,...} tuple. Errors will cause exceptions.
Eliminating the wrapping tuple allows simpler nesting of calls.
Diffstat (limited to 'lib/asn1/test/test_selective_decode.erl')
0 files changed, 0 insertions, 0 deletions