| 1 | use libcrust-analyzer cargo libc 0.2.182 crate/::size_trust-analyzer cargo libc 0.2.182 unix/size_t#; |
| 2 | use stdrust-analyzer cargo std https://github.com/rust-lang/rust/library/std crate/::ffirust-analyzer cargo std https://github.com/rust-lang/rust/library/std ffi/::c_voidrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/c_void#; |
| 3 | |
| 4 | extern "C" { |
| 5 | #[cfg_attr(PyPy, link_name = "PyPyMem_Malloc")] |
| 6 | pub fn PyMem_Mallocrust-analyzer cargo pyo3-ffi 0.28.2 PyMem_Malloc().(size: size_trust-analyzer cargo libc 0.2.182 unix/size_t#) -> *mut c_voidrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/c_void#; |
| 7 | #[cfg_attr(PyPy, link_name = "PyPyMem_Calloc")] |
| 8 | pub fn PyMem_Callocrust-analyzer cargo pyo3-ffi 0.28.2 PyMem_Calloc().(nelem: size_trust-analyzer cargo libc 0.2.182 unix/size_t#, elsize: size_trust-analyzer cargo libc 0.2.182 unix/size_t#) -> *mut c_voidrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/c_void#; |
| 9 | #[cfg_attr(PyPy, link_name = "PyPyMem_Realloc")] |
| 10 | pub fn PyMem_Reallocrust-analyzer cargo pyo3-ffi 0.28.2 PyMem_Realloc().(ptr: *mut c_voidrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/c_void#, new_size: size_trust-analyzer cargo libc 0.2.182 unix/size_t#) -> *mut c_voidrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/c_void#; |
| 11 | #[cfg_attr(PyPy, link_name = "PyPyMem_Free")] |
| 12 | pub fn PyMem_Freerust-analyzer cargo pyo3-ffi 0.28.2 PyMem_Free().(ptr: *mut c_voidrust-analyzer cargo core https://github.com/rust-lang/rust/library/core ffi/c_void#); |
| 13 | } |