16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-19 02:09:17 +02:00

LCD Screens in python

Merge with python branch
This commit is contained in:
Firleju
2015-04-29 13:17:44 +02:00
committed by Firleju
parent bbb0501523
commit 731102c10f
106 changed files with 13965 additions and 25 deletions

View File

@@ -0,0 +1,23 @@
/* 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 */