diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2014-01-03 21:36:49 +0100 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2014-01-03 21:36:49 +0100 |
commit | 1c0689c613b61c8944456e78c5b592e3aaa40aba (patch) | |
tree | 7f8bb895da42b257af0ca9cbc2dd13e60abf2186 /Include/fileutils.h | |
parent | whatsnew: porting note for HTTP[S]Connection strict parameter removal. (diff) | |
download | cpython-1c0689c613b61c8944456e78c5b592e3aaa40aba.tar.gz cpython-1c0689c613b61c8944456e78c5b592e3aaa40aba.tar.bz2 cpython-1c0689c613b61c8944456e78c5b592e3aaa40aba.zip |
Issue #19526: Exclude all new API from the stable ABI.
Diffstat (limited to 'Include/fileutils.h')
-rw-r--r-- | Include/fileutils.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/fileutils.h b/Include/fileutils.h index 5466e3c7e0d..e9bad80b873 100644 --- a/Include/fileutils.h +++ b/Include/fileutils.h @@ -27,9 +27,11 @@ PyAPI_FUNC(int) _Py_stat( struct stat *statbuf); #endif +#ifndef Py_LIMITED_API PyAPI_FUNC(int) _Py_open( const char *pathname, int flags); +#endif PyAPI_FUNC(FILE *) _Py_wfopen( const wchar_t *path, @@ -61,12 +63,14 @@ PyAPI_FUNC(wchar_t*) _Py_wgetcwd( wchar_t *buf, size_t size); +#ifndef Py_LIMITED_API PyAPI_FUNC(int) _Py_get_inheritable(int fd); PyAPI_FUNC(int) _Py_set_inheritable(int fd, int inheritable, int *atomic_flag_works); PyAPI_FUNC(int) _Py_dup(int fd); +#endif #ifdef __cplusplus } |