Skip to content

Commit

Permalink
add cplusplus
Browse files Browse the repository at this point in the history
  • Loading branch information
hasindu2008 committed Sep 18, 2023
1 parent 33a70a2 commit 4c59b6a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions include/slow5/slow5_mt.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
#ifndef SLOW5_MT_H
#define SLOW5_MT_H

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

/**************************************************************************************************
*** Multi-threading API *************************************************************************
**************************************************************************************************/
Expand Down Expand Up @@ -63,4 +67,8 @@ int slow5_get_batch_lazy(slow5_rec_t ***read, slow5_file_t *s5p, char **rid, int
int slow5_write_batch_lazy(slow5_rec_t **read, slow5_file_t *s5p, int batch_size, int num_threads);
void slow5_free_batch_lazy(slow5_rec_t ***read, int num_rec);

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif

0 comments on commit 4c59b6a

Please sign in to comment.