mirror of https://github.com/python/cpython
Export the 'free' standard C function for use in the test suite.
This commit is contained in:
parent
08041d582b
commit
21a929f5ab
|
@ -96,6 +96,11 @@ EXPORT(char *) my_strdup(char *src)
|
|||
return dst;
|
||||
}
|
||||
|
||||
EXPORT(void) free(void *ptr)
|
||||
{
|
||||
free(ptr);
|
||||
}
|
||||
|
||||
#ifdef HAVE_WCHAR_H
|
||||
EXPORT(wchar_t *) my_wcsdup(wchar_t *src)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue