Mercurial > public > mercurial-scm > hg
view contrib/fuzz/pyutil.h @ 51622:aa23b19e6da4
match: make `was_tampered_with` work recursively
This is useful if we are to use it outside of Rust, when
deciding whether or not to do some fast-path operation with
a given matcher.
author | Arseniy Alekseyev <aalekseyev@janestreet.com> |
---|---|
date | Fri, 26 Apr 2024 18:53:02 +0100 |
parents | 8766728dbce6 |
children |
line wrap: on
line source
#include <Python.h> #if PY_MAJOR_VERSION >= 3 #define PYCODETYPE PyObject #else #define PYCODETYPE PyCodeObject #endif namespace contrib { void initpy(const char *cselfpath); PyObject *pyglobals(); } /* namespace contrib */