# pyport.rs - source
Source of the Rust file `/home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/pyo3-0.13.2/src/ffi/pyport.rs`.
Keywords: rust, rustlang, rust-lang

    1
    2
    3
    4
    5
    6
    7
    8
    9

    pub type Py_uintptr_t = ::libc::uintptr_t;
    pub type Py_intptr_t = ::libc::intptr_t;
    pub type Py_ssize_t = ::libc::ssize_t;

    pub type Py_hash_t = Py_ssize_t;
    pub type Py_uhash_t = ::libc::size_t;

    pub const PY_SSIZE_T_MIN: Py_ssize_t = std::isize::MIN as Py_ssize_t;
    pub const PY_SSIZE_T_MAX: Py_ssize_t = std::isize::MAX as Py_ssize_t;