annotate DEPENDENCIES/mingw32/Python27/include/timefuncs.h @ 132:540eca98552e

Update qm-vamp-plugins metadata
author Chris Cannam
date Tue, 30 Jul 2019 12:06:51 +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 */