diff options
author | Björn Gustavsson <[email protected]> | 2013-01-24 11:32:00 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2013-01-24 11:46:26 +0100 |
commit | b06cbaf8cf12a9b6dcbdc6eab873a6212206ef58 (patch) | |
tree | c0894359c14ddba56ec11197abb5a6b32afc8911 | |
parent | b344d2bd350f32b340cb5a4997fdab020954f5bf (diff) | |
download | otp-b06cbaf8cf12a9b6dcbdc6eab873a6212206ef58.tar.gz otp-b06cbaf8cf12a9b6dcbdc6eab873a6212206ef58.tar.bz2 otp-b06cbaf8cf12a9b6dcbdc6eab873a6212206ef58.zip |
Don't export encode_disp/2 and decode_disp/2 in generated modules
Those functions were exported for no good reason.
-rw-r--r-- | lib/asn1/src/asn1ct_gen.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/asn1/src/asn1ct_gen.erl b/lib/asn1/src/asn1ct_gen.erl index c2590d1e44..79f0593c37 100644 --- a/lib/asn1/src/asn1ct_gen.erl +++ b/lib/asn1/src/asn1ct_gen.erl @@ -920,7 +920,7 @@ gen_selected_decode_exports1([{FuncName,_}|Rest]) -> pgen_dispatcher(Erules,_Module,{[],_Values,_,_,_Objects,_ObjectSets}) -> gen_info_functions(Erules); pgen_dispatcher(Erules,_Module,{Types,_Values,_,_,_Objects,_ObjectSets}) -> - emit(["-export([encode/2,decode/2,encode_disp/2,decode_disp/2]).",nl,nl]), + emit(["-export([encode/2,decode/2]).",nl,nl]), gen_info_functions(Erules), NoFinalPadding = lists:member(no_final_padding,get(encoding_options)), {Call,BytesAsBinary} = |