pub type FactoryFlags = c_uint;