diff options
author | Bryan Forbes | 2011-09-26 17:14:39 +0200 |
---|---|---|
committer | Nikias Bassen | 2011-09-26 17:14:39 +0200 |
commit | 2ca52d65bb113e8639e732f67fec3c3223c0a444 (patch) | |
tree | b937e0c7a6a93eca914c0571bd71c85a3f2408b4 /cython/plist_util.h | |
parent | 36ad4384303e94b19cdf7a5ff43182efebe1b398 (diff) | |
download | libplist-2ca52d65bb113e8639e732f67fec3c3223c0a444.tar.gz libplist-2ca52d65bb113e8639e732f67fec3c3223c0a444.tar.bz2 |
Added cython bindings.
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 @@ +#include <Python.h> + +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); |