diff options
Diffstat (limited to 'cython/plist_util.h')
| -rw-r--r-- | cython/plist_util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cython/plist_util.h b/cython/plist_util.h new file mode 100644 index 0000000..fbf56b6 --- /dev/null +++ b/cython/plist_util.h | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | #include <Python.h> | ||
| 2 | |||
| 3 | void datetime_to_ints(PyObject* obj, int32_t* sec, int32_t* usec); | ||
| 4 | PyObject* ints_to_datetime(int32_t sec, int32_t usec); | ||
| 5 | int check_datetime(PyObject* obj); | ||
