Staging
v0.5.1
v0.5.1
Revision 69ed1011aabd562a5810fb98afbdc2590ed079d2 authored by Guido van Rossum on 19 August 2008, 20:13:02 UTC, committed by Guido van Rossum on 19 August 2008, 20:13:02 UTC
Py_TPFLAGS_DEFAULT when not building the core.
1 parent 80f0ed5
timefuncs.h
/* timefuncs.h
*/
/* Utility function related to timemodule.c. */
#ifndef TIMEFUNCS_H
#define TIMEFUNCS_H
#ifdef __cplusplus
extern "C" {
#endif
/* Cast double x to time_t, but raise ValueError if x is too large
* to fit in a time_t. ValueError is set on return iff the return
* value is (time_t)-1 and PyErr_Occurred().
*/
PyAPI_FUNC(time_t) _PyTime_DoubleToTimet(double x);
#ifdef __cplusplus
}
#endif
#endif /* TIMEFUNCS_H */
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...