Mercurial > hg
view mercurial/cext/revlog.h @ 43169:3941e7063d03
py3: call SMTP.has_extn() with an str
Passing a bytes on Python 3 always returns False, thus starttls is not
properly detected.
author | Denis Laxalde <denis@laxalde.org> |
---|---|
date | Thu, 10 Oct 2019 21:00:13 +0200 |
parents | b12700dd261f |
children | 9db11679f8ac |
line wrap: on
line source
/* revlog.h - efficient revlog parsing This software may be used and distributed according to the terms of the GNU General Public License, incorporated herein by reference. */ #ifndef _HG_REVLOG_H_ #define _HG_REVLOG_H_ #include <Python.h> extern PyTypeObject HgRevlogIndex_Type; #define HgRevlogIndex_Check(op) PyObject_TypeCheck(op, &HgRevlogIndex_Type) int HgRevlogIndex_GetParents(PyObject *op, int rev, int *ps); #endif /* _HG_REVLOG_H_ */