summaryrefslogtreecommitdiffstats
path: root/Include/timefuncs.h
diff options
context:
space:
mode:
authorKristján Valur Jónsson <sweskman@gmail.com>2013-03-19 20:53:56 (GMT)
committerKristján Valur Jónsson <sweskman@gmail.com>2013-03-19 20:53:56 (GMT)
commit868f0aac37cf6c879471c3b8e65e6db623460ce5 (patch)
tree8f2aeef3f42d43d3b6fcc3f3f198ab80c27bd97c /Include/timefuncs.h
parenta39c47aab0ec3032e25e8b0783616d50905ea9e2 (diff)
downloadcpython-868f0aac37cf6c879471c3b8e65e6db623460ce5.zip
cpython-868f0aac37cf6c879471c3b8e65e6db623460ce5.tar.gz
cpython-868f0aac37cf6c879471c3b8e65e6db623460ce5.tar.bz2
issue #9090 : Take the same approach for socketmodule as daytimemodule
when it needs support from timemodule (which is a .so on linux): link in timemodule.c for the required functions.
Diffstat (limited to 'Include/timefuncs.h')
-rw-r--r--Include/timefuncs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Include/timefuncs.h b/Include/timefuncs.h
index 553142d..a9d26a7 100644
--- a/Include/timefuncs.h
+++ b/Include/timefuncs.h
@@ -16,6 +16,9 @@ extern "C" {
*/
PyAPI_FUNC(time_t) _PyTime_DoubleToTimet(double x);
+/* Get the current time since the epoch in seconds */
+PyAPI_FUNC(double) _PyTime_FloatTime(void);
+
#ifdef __cplusplus
}