Indexers are now cloned if needed to modify them after they've been
closed. Obligatory indexers' names now follow the same pattern as other indexers (columnname_version). Closes #46 and #49.
This commit is contained in:
@ -107,6 +107,24 @@ inline Obi_indexer_p obi_open_indexer(OBIDMS_p dms, const char* name)
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief Clones an indexer.
|
||||
*
|
||||
* @param indexer The indexer to clone.
|
||||
* @param name The name of the new indexer.
|
||||
*
|
||||
* @returns A pointer on the new indexer structure.
|
||||
* @retval NULL if an error occurred.
|
||||
*
|
||||
* @since May 2016
|
||||
* @author Celine Mercier (celine.mercier@metabarcoding.org)
|
||||
*/
|
||||
inline Obi_indexer_p obi_clone_indexer(Obi_indexer_p indexer, const char* name)
|
||||
{
|
||||
return obi_clone_avl_group(indexer, name);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @brief Closes an indexer.
|
||||
*
|
||||
|
Reference in New Issue
Block a user