MCPcopy Index your code
hub / github.com/RustPython/RustPython / to_libffi

Method to_libffi

crates/jit/src/lib.rs:207–213  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

205 }
206
207 fn to_libffi(&self) -> libffi::middle::Type {
208 match self {
209 Self::Int => libffi::middle::Type::i64(),
210 Self::Float => libffi::middle::Type::f64(),
211 Self::Bool => libffi::middle::Type::u8(),
212 }
213 }
214}
215
216#[derive(Debug, Clone, PartialEq)]

Callers 1

to_cifMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected