summaryrefslogtreecommitdiff
path: root/src/term_to_binary_compat.erl
blob: 327a846d1fcc17981dc3e0fec04917c0188ef6d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
%% This Source Code Form is subject to the terms of the Mozilla Public
%% License, v. 2.0. If a copy of the MPL was not distributed with this
%% file, You can obtain one at https://mozilla.org/MPL/2.0/.
%%
%% Copyright (c) 2017-2020 VMware, Inc. or its affiliates.  All rights reserved.
%%

-module(term_to_binary_compat).

-include("rabbit.hrl").

-export([term_to_binary_1/1]).

term_to_binary_1(Term) ->
    term_to_binary(Term, [{minor_version, 1}]).