view mercurial/cext/revlog.h @ 46645:7711853110b9

typing: add some type annotations to mercurial/util.py Differential Revision: https://phab.mercurial-scm.org/D10127
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 06 Mar 2021 23:41:32 -0500
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_ */