Mercurial > hg
diff mercurial/cext/manifest.c @ 33757:e9996bd7203f
cext: split character encoding functions to new compilation unit
This extracts charencode.c from parsers.c, which seems big enough for me
to hesitate to add new JSON functions. Still charencode.o is linked to
parsers.so to avoid duplication of binary codes.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Mon, 31 Jul 2017 22:28:27 +0900 |
parents | df448de7cf3b |
children | 0f4ac3b6dee4 |
line wrap: on
line diff
--- a/mercurial/cext/manifest.c Mon Jul 31 22:12:24 2017 +0900 +++ b/mercurial/cext/manifest.c Mon Jul 31 22:28:27 2017 +0900 @@ -38,7 +38,7 @@ #define MANIFEST_NOT_SORTED -2 #define MANIFEST_MALFORMED -3 -/* defined in parsers.c */ +/* defined in charencode.c */ PyObject *unhexlify(const char *str, int len); /* get the length of the path for a line */