Currently, corto_declareChild and corto_createChild already have "find or create" like semantics (it is allowed to redeclare), however when an object already exists with a different type than specified in corto_declareChild or corto_createChild the function fails.
Two new findOr* functions will return an existing object, even if it has a different type.
Currently,
corto_declareChild
andcorto_createChild
already have "find or create" like semantics (it is allowed to redeclare), however when an object already exists with a different type than specified incorto_declareChild
orcorto_createChild
the function fails.Two new
findOr*
functions will return an existing object, even if it has a different type.