Staging
v0.5.1
https://github.com/python/cpython
Revision a4f1afa640dbe031f9b449a74fafd29d7d0f6ecf authored by Antoine Pitrou on 31 October 2010, 13:15:20 UTC, committed by Antoine Pitrou on 31 October 2010, 13:15:20 UTC
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r85935 | antoine.pitrou | 2010-10-29 21:34:45 +0200 (ven., 29 oct. 2010) | 4 lines

  Make a GC run before trying to clean up files left over by
  the latest test run.
........
  r85936 | antoine.pitrou | 2010-10-29 21:36:37 +0200 (ven., 29 oct. 2010) | 3 lines

  Fix typo
........
1 parent e305425
Raw File
Tip revision: a4f1afa640dbe031f9b449a74fafd29d7d0f6ecf authored by Antoine Pitrou on 31 October 2010, 13:15:20 UTC
Merged revisions 85935-85936 via svnmerge from
Tip revision: a4f1afa
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 */
back to top