view mercurial/cext/revlog.h @ 47408:7954ee2d7cf7

rhg: propogate error coming from HgError::Abort to CommandError Differential Revision: https://phab.mercurial-scm.org/D10839
author Pulkit Goyal <7895pulkit@gmail.com>
date Mon, 07 Jun 2021 17:29:32 +0530
parents 9db11679f8ac
children
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)

#endif /* _HG_REVLOG_H_ */