Staging
v0.8.1
v0.8.1
Revision 8a478ced5585c7819668d028f6969b043a86fc58 authored by Brett Cannon on 05 May 2010, 20:19:26 UTC, committed by Brett Cannon on 05 May 2010, 20:19:26 UTC
Found using Clang's static analyzer.
1 parent fee3acb
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 */
Computing file changes ...