gh-91053: Add an optional callback that is invoked whenever a function is modified (#98175)

This commit is contained in:
mpage 2022-11-22 04:06:44 -08:00 committed by GitHub
parent 20d9749a0f
commit 3db0a21f73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 524 additions and 0 deletions

View file

@ -8,6 +8,8 @@ extern "C" {
# error "this header requires Py_BUILD_CORE define"
#endif
#define FUNC_MAX_WATCHERS 8
struct _py_func_runtime_state {
uint32_t next_version;
};