Skip to main content

REGISTERED_CLASS_NAMES

Constant REGISTERED_CLASS_NAMES 

Source
const REGISTERED_CLASS_NAMES: LocalKey<RefCell<Vec<String>>>;
Expand description

Records every ALTREP class name registered during package_init().

After all registrations complete, assert_altrep_class_uniqueness checks for duplicates. Only R’s main thread makes classes: package_init() registers them there, and a class made on first use is made by a conversion to R, which runs there too ([T; N] arrays enter it through with_r_thread).