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

Function object_end_enumeration

crates/vm/src/stdlib/_wmi.rs:231–236  ·  view source on GitHub ↗

IWbemClassObject::EndEnumeration (vtable index 10)

(this: *mut c_void)

Source from the content-addressed store, hash-verified

229
230 /// IWbemClassObject::EndEnumeration (vtable index 10)
231 pub unsafe fn object_end_enumeration(this: *mut c_void) -> HRESULT {
232 let vtable = *(this as *const *const usize);
233 let method: unsafe extern "system" fn(*mut c_void) -> HRESULT =
234 core::mem::transmute(*vtable.add(10));
235 method(this)
236 }
237}
238
239#[pymodule]

Callers 1

query_thread_implFunction · 0.85

Calls 2

methodFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected