Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OBITools3
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
23
Issues
23
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OBITools
OBITools3
Commits
6977c431
Commit
6977c431
authored
Apr 22, 2016
by
Celine Mercier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved function to build an indexer name
parent
839b3000
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
src/obiblob_indexer.c
src/obiblob_indexer.c
+3
-0
src/obiblob_indexer.h
src/obiblob_indexer.h
+3
-1
No files found.
src/obiblob_indexer.c
View file @
6977c431
...
...
@@ -19,6 +19,9 @@
#include "obidebug.h"
#define DEBUG_LEVEL 0 // TODO has to be defined somewhere else (cython compil flag?)
inline
int
obi_indexer_exists
(
OBIDMS_p
dms
,
const
char
*
name
);
inline
Obi_indexer_p
obi_indexer
(
OBIDMS_p
dms
,
const
char
*
name
);
...
...
src/obiblob_indexer.h
View file @
6977c431
...
...
@@ -162,6 +162,8 @@ inline Obi_blob_p obi_indexer_get(Obi_indexer_p indexer, index_t idx)
/**
* @brief Builds an indexer name in the form columnname_columnversion_indexer.
*
* @warning The returned pointer has to be freed by the caller.
*
* @param column_name The name of the column associated with the indexer.
* @param column_version The version of the column associated with the indexer.
*
...
...
@@ -171,7 +173,7 @@ inline Obi_blob_p obi_indexer_get(Obi_indexer_p indexer, index_t idx)
* @since April 2016
* @author Celine Mercier (celine.mercier@metabarcoding.org)
*/
char
*
obi_build_indexer_name
(
const
char
*
column_name
,
obiversion_t
column_version
)
char
*
obi_build_indexer_name
(
const
char
*
column_name
,
obiversion_t
column_version
)
;
#endif
/* OBIBLOB_INDEXER_H_ */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment