view mercurial/cext/revlog.h @ 42149:84b5ad5fc2aa stable

merge: forgot to pull before release These two changes should be part of 5.0, but we are fine leaving them out of the RC.
author Augie Fackler <augie@google.com>
date Wed, 17 Apr 2019 14:10:02 -0400
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_ */