Skip to main content

JS_FreeAtom

Function JS_FreeAtom 

Source
#[unsafe(no_mangle)]
pub extern "C" fn JS_FreeAtom(_ctx: *mut JsContext, _atom: Atom)
Expand description

JS_FreeAtom: release an atom.

A no-op for the same reason JS_DupAtom is: atoms outlive every caller here, and invalidating one would make a module’s static JSAtom unusable on its second call.