ListBase * which_libbase(Main *bmain, short type)
int set_listbasepointers(Main *bmain, ListBase *lb[])
static TreeElement * add_element(SpaceOutliner *space_outliner, ListBase *lb, ID *owner_id, void *create_data, TreeElement *parent, short type, short index, const bool expand=true)