#[unsafe(no_mangle)]pub unsafe extern "C" fn JS_NewClassID(
pclass_id: *mut ClassId,
) -> ClassIdExpand description
JS_NewClassID: allocate an id, storing it in *pclass_id.
Mirrors the reference: an id that is already non-zero is kept, so a second call is not a
second allocation. That is what makes a module’s static JSClassID idempotent.
§Safety
pclass_id must be writable.