diff options
author | mpage <mpage@cs.stanford.edu> | 2022-11-22 12:06:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-22 12:06:44 (GMT) |
commit | 3db0a21f731cec28a89f7495a82ee2670bce75fe (patch) | |
tree | 4a4cc72b265076d18d9dd4ec22d9e5013425cffc /Include/internal/pycore_function.h | |
parent | 20d9749a0f9b9fa6946019f04a54b6287d16588e (diff) | |
download | cpython-3db0a21f731cec28a89f7495a82ee2670bce75fe.zip cpython-3db0a21f731cec28a89f7495a82ee2670bce75fe.tar.gz cpython-3db0a21f731cec28a89f7495a82ee2670bce75fe.tar.bz2 |
gh-91053: Add an optional callback that is invoked whenever a function is modified (#98175)
Diffstat (limited to 'Include/internal/pycore_function.h')
-rw-r--r-- | Include/internal/pycore_function.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/internal/pycore_function.h b/Include/internal/pycore_function.h index c95190f..5cedb33 100644 --- a/Include/internal/pycore_function.h +++ b/Include/internal/pycore_function.h @@ -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; }; |