mercurial/cext/revlog.h
author Kyle Lippincott <spectral@google.com>
Wed, 08 Jan 2020 09:59:34 -0800
changeset 44016 1e0783b946c8
parent 40861 b12700dd261f
child 44467 9db11679f8ac
permissions -rw-r--r--
tests: fix a "naked exception" issue in test-remotefilelog-prefetch.t Differential Revision: https://phab.mercurial-scm.org/D7811

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