[PATCH 2 of 6 V2] base85: add version to help detect breaking binary changes
Yuya Nishihara
yuya at tcha.org
Sat May 20 00:14:11 EDT 2017
On Fri, 19 May 2017 08:46:09 -0700, Jun Wu wrote:
> # HG changeset patch
> # User Jun Wu <quark at fb.com>
> # Date 1493167548 25200
> # Tue Apr 25 17:45:48 2017 -0700
> # Node ID bd01a5b895000ea8791540098b38ae78bed15a2f
> # Parent 90ad5352d3c20b5f463d814b46cef15512edbacb
> # Available At https://bitbucket.org/quark-zju/hg-draft
> # hg pull https://bitbucket.org/quark-zju/hg-draft -r bd01a5b89500
> base85: add version to help detect breaking binary changes
Queued the series, thanks!
> PyMODINIT_FUNC PyInit_base85(void)
> {
> + PyObject *m;
> b85prep();
>
> - return PyModule_Create(&base85_module);
> + m = PyModule_Create(&base85_module);
> + PyModule_AddIntConstant(m, "version", version);
> }
Added missed 'return m' in flight.
More information about the Mercurial-devel
mailing list