mercurial/cext/revlog.h
author Martin von Zweigbergk <martinvonz@google.com>
Mon, 04 Feb 2019 21:21:55 -0800
changeset 41583 ef2295651351
parent 40879 b12700dd261f
child 44485 9db11679f8ac
permissions -rw-r--r--
merge: don't unnecessarily calculate backup path Differential Revision: https://phab.mercurial-scm.org/D5848

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