Use correct C integer types in Cython

pull/18383/head
Lidi Zheng 6 years ago
parent e63050a0bb
commit ec78d0f569
  1. 10
      src/python/grpcio/grpc/_cython/_cygrpc/grpc.pxi

@ -13,15 +13,7 @@
# limitations under the License.
cimport libc.time
from libc.stdint cimport intptr_t
# Typedef types with approximately the same semantics to provide their names to
# Cython
ctypedef unsigned char uint8_t
ctypedef int int32_t
ctypedef unsigned uint32_t
ctypedef long int64_t
from libc.stdint cimport intptr_t, uint8_t, int32_t, uint32_t, int64_t
cdef extern from "grpc/support/alloc.h":

Loading…
Cancel
Save