Staging
v0.8.1
https://github.com/python/cpython
Revision b1e22e3def4b4c146c7daa850784061ff2b17d43 authored by Tarek Ziadé on 06 March 2010, 02:26:07 UTC, committed by Tarek Ziadé on 06 March 2010, 02:26:07 UTC
........
  r78706 | tarek.ziade | 2010-03-06 02:04:14 +0100 (Sat, 06 Mar 2010) | 1 line

  copied back the build_ext tests from 2.6
........
  r78710 | tarek.ziade | 2010-03-06 02:27:09 +0100 (Sat, 06 Mar 2010) | 1 line

  files used by win32 tests
........
1 parent 924b571
Raw File
Tip revision: b1e22e3def4b4c146c7daa850784061ff2b17d43 authored by Tarek Ziadé on 06 March 2010, 02:26:07 UTC
Blocked revisions 78706,78710 via svnmerge
Tip revision: b1e22e3
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