MCPcopy Create free account
hub / github.com/aiscriptdev/aiscript / intern

Method intern

aiscript-vm/src/vm/state.rs:255–257  ·  view source on GitHub ↗
(&mut self, s: &[u8])

Source from the content-addressed store, hash-verified

253 }
254
255 pub fn intern(&mut self, s: &[u8]) -> InternedString<'gc> {
256 self.strings.intern(self.mc, s)
257 }
258
259 pub fn intern_static(&mut self, s: &'static str) -> InternedString<'gc> {
260 self.strings.intern_static(self.mc, s.as_bytes())

Callers 4

import_moduleMethod · 0.45
dispatch_nextMethod · 0.45
call_constructorMethod · 0.45
validate_argsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected