Skip to content

Commit 6487eb5

Browse files
pmbarrett314stephanosio
authored andcommitted
Add _PyMem_Strdup declaration
Private api was removed in python/cpython@3071867 Moved declaration from Include/internal/pycore_pymem.h
1 parent eff5bf3 commit 6487eb5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

py313/_cursesmodule.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ PyAPI_FUNC(int) _PyStructSequence_InitType(
109109
PyStructSequence_Desc *desc,
110110
unsigned long tp_flags);
111111

112+
PyAPI_FUNC(char*) _PyMem_Strdup(const char *str);
113+
112114
#ifdef __hpux
113115
#define STRICT_SYSV_CURSES
114116
#endif

0 commit comments

Comments
 (0)