MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / inc_ref

Method inc_ref

rust/src/low_level_il/function.rs:222–230  ·  view source on GitHub ↗
(handle: &Self)

Source from the content-addressed store, hash-verified

220 F: FunctionForm,
221{
222 unsafe fn inc_ref(handle: &Self) -> Ref<Self> {
223 Ref::new(Self {
224 arch_handle: handle.arch_handle.clone(),
225 handle: BNNewLowLevelILFunctionReference(handle.handle),
226 _arch: PhantomData,
227 _mutability: PhantomData,
228 _form: PhantomData,
229 })
230 }
231
232 unsafe fn dec_ref(handle: &Self) {
233 BNFreeLowLevelILFunction(handle.handle);

Callers

nothing calls this directly

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected