mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-91053: Add an optional callback that is invoked whenever a function is modified (#98175)
This commit is contained in:
parent
20d9749a0f
commit
3db0a21f73
9 changed files with 524 additions and 0 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue