##// END OF EJS Templates
hghave: document format for version feature checks as <name><vers>, no dots...
hghave: document format for version feature checks as <name><vers>, no dots I had a bit of a difficult time when attempting to fix a use of `py-38` when trying to figure out what the correct way of specifying the feature was. By having the strings 'py-3*' and 'py3.8' in the hghave.checkvers docstring, I would have had a much easier time of it instead of having to trace exactly what was happening here. Differential Revision: https://phab.mercurial-scm.org/D7023

File last commit:

r40896:b12700dd default
r43383:37af4803 default
Show More
revlog.h
19 lines | 455 B | text/x-c | CLexer
/*
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_ */