mercurial/cext/revlog.h
author Pulkit Goyal <pulkit@yandex-team.ru>
Mon, 04 Feb 2019 20:35:21 +0300
changeset 41543 13a6dd952ffe
parent 40879 b12700dd261f
child 44485 9db11679f8ac
permissions -rw-r--r--
merge with stable

/*
 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_ */