Skip to main content

register_value

Function register_value 

Source
pub fn register_value(info: &'static ValueInfo)
Expand description

Makes the valuetype info known to every ORB of the process, so that a value of it is read as itself where a base type of it is expected (rather than truncated). Its TypeCode is registered for anys as well (crate::register_value_type). Generated files have a register_value_types function that registers all of theirs.