Skip to content

Commit 613175d

Browse files
Merge branch 'master' of github.com:smithlabcode/smithlab_cpp
2 parents 1274af4 + 590187b commit 613175d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

htslib_wrapper.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ using std::cerr;
3434
using std::endl;
3535
using std::runtime_error;
3636

37+
char check_htslib_wrapper() {return 1;}
38+
3739
SAMReader::SAMReader(const string &fn, const string &mpr) :
3840
filename(fn), mapper(mpr), good(true) {
3941

htslib_wrapper.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
#include <htslib/sam.h>
3030
#include <htslib/hts.h>
3131

32+
extern "C" {char check_htslib_wrapper();}
33+
3234
struct SAMRecord {
3335
MappedRead mr;
3436
bool is_Trich;

0 commit comments

Comments
 (0)