diff options
| author | INADA Naoki <methane@users.noreply.github.com> | 2018-11-14 16:35:37 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-14 16:35:37 +0900 |
| commit | d782464c9150e448ab3a8d81197ff335e1ac2c2b (patch) | |
| tree | d008991560c7ca596e11e4e760a3e613fe252bc4 /msgpack/_unpacker.pyx | |
| parent | 2b5f59166beeccde0ee230c8673cf50932c8daba (diff) | |
| download | msgpack-python-d782464c9150e448ab3a8d81197ff335e1ac2c2b.tar.gz | |
Refactor Cython code (#328)
_msgpack -> _cmsgpack
Diffstat (limited to 'msgpack/_unpacker.pyx')
| -rw-r--r-- | msgpack/_unpacker.pyx | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/msgpack/_unpacker.pyx b/msgpack/_unpacker.pyx index e168587..aeebe2a 100644 --- a/msgpack/_unpacker.pyx +++ b/msgpack/_unpacker.pyx @@ -1,26 +1,6 @@ # coding: utf-8 -#cython: embedsignature=True, c_string_encoding=ascii -from cpython.version cimport PY_MAJOR_VERSION -from cpython.bytes cimport ( - PyBytes_AsString, - PyBytes_FromStringAndSize, - PyBytes_Size, -) -from cpython.buffer cimport ( - Py_buffer, - PyObject_CheckBuffer, - PyObject_GetBuffer, - PyBuffer_Release, - PyBuffer_IsContiguous, - PyBUF_READ, - PyBUF_SIMPLE, - PyBUF_FULL_RO, -) -from cpython.mem cimport PyMem_Malloc, PyMem_Free -from cpython.object cimport PyCallable_Check -from cpython.ref cimport Py_DECREF -from cpython.exc cimport PyErr_WarnEx +from cpython cimport * cdef extern from "Python.h": ctypedef struct PyObject |
