From 2ca52d65bb113e8639e732f67fec3c3223c0a444 Mon Sep 17 00:00:00 2001 From: Bryan Forbes Date: Mon, 26 Sep 2011 17:14:39 +0200 Subject: Added cython bindings. --- cython/plist_util.h | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 cython/plist_util.h (limited to 'cython/plist_util.h') 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 @@ +#include + +void datetime_to_ints(PyObject* obj, int32_t* sec, int32_t* usec); +PyObject* ints_to_datetime(int32_t sec, int32_t usec); +int check_datetime(PyObject* obj); -- cgit v1.1-32-gdbae