commit | 453c698a51b36b68e316a7f772d9120bd492670f | [log] [tgz] |
---|---|---|
author | Jay Doane <jaydoane@apache.org> | Thu May 18 13:48:43 2023 -0700 |
committer | Jay Doane <jaydoane@apache.org> | Tue May 23 12:39:29 2023 -0700 |
tree | 1adddda70481fc0f6610be0bfffe3c5192446b56 | |
parent | 7f13f640ca102ab38acdee1d036e1dc99443cb05 [diff] |
Convert `term_to_binary` to `?term_to_bin` * Replace `term_to_binary` calls that don't specify the `minor_version` option with the `?term_to_bin` macro, which adds the option `{minor_version, 1}`, to maintain backward compatibility. * Define new `term_to_bin/2` in `couchd_db.hrl` for existing uses of `term_to_binary/2`. * Define `term_to_bin` in couch_epi.hrl since `couch_db.hrl` cannot be imported into `couch_epi` modules.