diff options
author | INADA Naoki <inada-n@klab.com> | 2013-04-08 01:57:37 +0900 |
---|---|---|
committer | INADA Naoki <inada-n@klab.com> | 2013-04-08 01:57:37 +0900 |
commit | 0faa1bb558ab671b9503c5e22a97c0ec24ab5a19 (patch) | |
tree | 11d0371803d795e630f76f580d834ab98d14fbdd /msgpack/_packer.pyx | |
parent | 5c90f953dae37610f478183849b77413d6ec8e9f (diff) | |
download | msgpack-python-0faa1bb558ab671b9503c5e22a97c0ec24ab5a19.tar.gz |
Remove unnecessary type declaration.
Diffstat (limited to 'msgpack/_packer.pyx')
-rw-r--r-- | msgpack/_packer.pyx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/msgpack/_packer.pyx b/msgpack/_packer.pyx index 562c92c..93323c4 100644 --- a/msgpack/_packer.pyx +++ b/msgpack/_packer.pyx @@ -2,12 +2,6 @@ #cython: embedsignature=True from cpython cimport * -cdef extern from "Python.h": - ctypedef char* const_char_ptr "const char*" - ctypedef char* const_void_ptr "const void*" - ctypedef struct PyObject - cdef int PyObject_AsReadBuffer(object o, const_void_ptr* buff, Py_ssize_t* buf_len) except -1 - from libc.stdlib cimport * from libc.string cimport * from libc.limits cimport * |