Skip to main content

JS_NewAtom

Function JS_NewAtom 

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

JS_NewAtom: intern a NUL-terminated string.

ยงSafety

str must be null or NUL-terminated.