Skip to main content

JS_NewAtomLen

Function JS_NewAtomLen 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn JS_NewAtomLen( ctx: *mut JsContext, str: *const c_char, len: usize, ) -> Atom
Expand description

JS_NewAtomLen: intern len bytes as an atom.

ยงSafety

str must point at len readable bytes.