Initial commit of OpenSPARC T2 design and verification files.
[OpenSPARC-T2-DV] / tools / src / nas,5.n2.os.2 / lib / python / include / python2.4 / timefuncs.h
CommitLineData
86530b38
AT
1#ifndef TIMEFUNCS_H
2#define TIMEFUNCS_H
3#ifdef __cplusplus
4extern "C" {
5#endif
6
7
8/* Cast double x to time_t, but raise ValueError if x is too large
9 * to fit in a time_t. ValueError is set on return iff the return
10 * value is (time_t)-1 and PyErr_Occurred().
11 */
12PyAPI_FUNC(time_t) _PyTime_DoubleToTimet(double x);
13
14
15#ifdef __cplusplus
16}
17#endif
18#endif /* TIMEFUNCS_H */