annotate DEPENDENCIES/mingw32/Python27/include/timefuncs.h @ 118:770eb830ec19 emscripten

Typo fix
author Chris Cannam
date Wed, 18 May 2016 16:14:08 +0100
parents 2a2c65a20a8b
children
rev   line source
Chris@87 1 /* timefuncs.h
Chris@87 2 */
Chris@87 3
Chris@87 4 /* Utility function related to timemodule.c. */
Chris@87 5
Chris@87 6 #ifndef TIMEFUNCS_H
Chris@87 7 #define TIMEFUNCS_H
Chris@87 8 #ifdef __cplusplus
Chris@87 9 extern "C" {
Chris@87 10 #endif
Chris@87 11
Chris@87 12
Chris@87 13 /* Cast double x to time_t, but raise ValueError if x is too large
Chris@87 14 * to fit in a time_t. ValueError is set on return iff the return
Chris@87 15 * value is (time_t)-1 and PyErr_Occurred().
Chris@87 16 */
Chris@87 17 PyAPI_FUNC(time_t) _PyTime_DoubleToTimet(double x);
Chris@87 18
Chris@87 19 /* Get the current time since the epoch in seconds */
Chris@87 20 PyAPI_FUNC(double) _PyTime_FloatTime(void);
Chris@87 21
Chris@87 22
Chris@87 23 #ifdef __cplusplus
Chris@87 24 }
Chris@87 25 #endif
Chris@87 26 #endif /* TIMEFUNCS_H */