MCPcopy Create free account
hub / github.com/Gstalker/Zygisk-Rust-ModuleTemplate / retain

Method retain

module/rust/src/api.rs:182–185  ·  view source on GitHub ↗

Retain the API handle to be used across function calls to [ZygiskModule](crate::ZygiskModule) by giving it a `'static` lifetime. ## Safety This is an unsafe function, since the API functions will be unloaded after `post[XXX]Specialize`, and calling any of the API functions after that point will result in undefined behavior. This function merely exists for working around Rust's limitations. This

(self)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected