aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-02-22 19:39:36 +0200
committerSerhiy Storchaka <storchaka@gmail.com>2015-02-22 19:39:36 +0200
commit12ebbc74f1421bf5979ac904178f3f4e0a0f37d6 (patch)
treea163a72b7d1be0600d4f91e70a4a9a6d28a3d105 /Include/fileutils.h
parentIssue #6639: Module-level turtle functions no longer raise TclError after (diff)
downloadcpython-12ebbc74f1421bf5979ac904178f3f4e0a0f37d6.tar.gz
cpython-12ebbc74f1421bf5979ac904178f3f4e0a0f37d6.tar.bz2
cpython-12ebbc74f1421bf5979ac904178f3f4e0a0f37d6.zip
Issue #23152: Move declaration into a header and exclude from stable API.
Diffstat (limited to 'Include/fileutils.h')
-rw-r--r--Include/fileutils.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Include/fileutils.h b/Include/fileutils.h
index 6effd88f3d6..5ddd5116223 100644
--- a/Include/fileutils.h
+++ b/Include/fileutils.h
@@ -21,6 +21,7 @@ PyAPI_FUNC(int) _Py_wstat(
struct stat *buf);
#endif
+#ifndef Py_LIMITED_API
#if defined(HAVE_FSTAT) || defined(MS_WINDOWS)
#ifdef MS_WINDOWS
@@ -41,6 +42,10 @@ struct _Py_stat_struct {
int st_ctime_nsec;
unsigned long st_file_attributes;
};
+
+PyAPI_FUNC(void) _Py_time_t_to_FILE_TIME(time_t, int, FILETIME *);
+PyAPI_FUNC(void) _Py_attribute_data_to_stat(BY_HANDLE_FILE_INFORMATION *,
+ ULONG, struct _Py_stat_struct *);
#else
# define _Py_stat_struct stat
#endif
@@ -49,6 +54,7 @@ PyAPI_FUNC(int) _Py_fstat(
int fd,
struct _Py_stat_struct *stat);
#endif /* HAVE_FSTAT || MS_WINDOWS */
+#endif /* Py_LIMITED_API */
#ifdef HAVE_STAT
PyAPI_FUNC(int) _Py_stat(