MCPcopy Create free account
hub / github.com/dgrunwald/rust-cpython / PyMethodDef

Class PyMethodDef

python27-sys/src/methodobject.rs:40–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38#[repr(C)]
39#[derive(Copy)]
40pub struct PyMethodDef {
41 pub ml_name: *const c_char,
42 pub ml_meth: Option<PyCFunction>,
43 pub ml_flags: c_int,
44 pub ml_doc: *const c_char,
45}
46
47impl Clone for PyMethodDef {
48 #[inline]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected