mercurial/cext/revlog.h
author Ian Moody <moz-ian@perix.co.uk>
Mon, 22 Apr 2019 18:55:26 +0100
changeset 42285 a4f7dceb07bf
parent 40879 b12700dd261f
child 44485 9db11679f8ac
permissions -rw-r--r--
phabricator: fallback to reading metadata from diff for phabread Differential Revision: https://phab.mercurial-scm.org/D6301

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