#[unsafe(no_mangle)]pub unsafe extern "C" fn JS_NewAtomString(
ctx: *mut JsContext,
str1: *const c_char,
) -> JsValueExpand description
JS_NewAtomString: a string, interning it on the way.
The reference’s version keeps the atom’s identity, which is observable only through the
atom API; here the string is what matters and the atom is interned for
JS_ValueToAtom’s benefit.
§Safety
str1 must be null or a NUL-terminated string.