MCPcopy Create free account
hub / github.com/TanTanDev/runity / new

Method new

rust/shared/src/log_plugin.rs:25–32  ·  view source on GitHub ↗
(runity_lib_path: &str)

Source from the content-addressed store, hash-verified

23
24impl LogApi {
25 pub fn new(runity_lib_path: &str) -> Result<Container<LogApi>, dlopen::Error> {
26 let cont_result: Result<Container<LogApi>, dlopen::Error> = unsafe { Container::load(runity_lib_path)};
27 let container = match cont_result {
28 Ok(container) => container,
29 Err(err) => return Err(err),
30 };
31 Ok(container)
32 }
33}
34
35// used by game dll do communicate back to the rust runity ap

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected