unsafe extern "C" fn get_maxActions<D: DomTypes>( cx: *mut JSContext, argc: c_uint, vp: *mut JSVal, ) -> bool