File tree Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Expand file tree Collapse file tree 2 files changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -11,19 +11,6 @@ extern "C" {
1111PyAPI_FUNC (PyObject * ) PyOS_FSPath (PyObject * path );
1212#endif
1313
14- #if !defined(Py_LIMITED_API )
15- typedef struct {
16- FILE * perf_map ;
17- PyThread_type_lock map_lock ;
18- } PerfMapState ;
19-
20- PyAPI_FUNC (int ) PyUnstable_PerfMapState_Init (void );
21-
22- PyAPI_FUNC (int ) PyUnstable_WritePerfMapEntry (const void * code_addr , unsigned int code_size , const char * entry_name );
23-
24- PyAPI_FUNC (void ) PyUnstable_PerfMapState_Fini (void );
25- #endif
26-
2714#ifdef __cplusplus
2815}
2916#endif
Original file line number Diff line number Diff line change @@ -29,6 +29,19 @@ Py_DEPRECATED(3.11) PyAPI_FUNC(int) PySys_HasWarnOptions(void);
2929Py_DEPRECATED (3.11 ) PyAPI_FUNC (void ) PySys_AddXOption (const wchar_t * );
3030PyAPI_FUNC (PyObject * ) PySys_GetXOptions (void );
3131
32+ #if !defined(Py_LIMITED_API )
33+ typedef struct {
34+ FILE * perf_map ;
35+ PyThread_type_lock map_lock ;
36+ } PerfMapState ;
37+
38+ PyAPI_FUNC (int ) PyUnstable_PerfMapState_Init (void );
39+
40+ PyAPI_FUNC (int ) PyUnstable_WritePerfMapEntry (const void * code_addr , unsigned int code_size , const char * entry_name );
41+
42+ PyAPI_FUNC (void ) PyUnstable_PerfMapState_Fini (void );
43+ #endif
44+
3245#ifndef Py_LIMITED_API
3346# define Py_CPYTHON_SYSMODULE_H
3447# include "cpython/sysmodule.h"
You can’t perform that action at this time.
0 commit comments