Skip to content

Commit

Permalink
dna4_revcomp: add fallback constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
kloetzl committed Apr 7, 2023
1 parent a86f597 commit d8c56ff
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/dna4_revcomp_x86.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,12 @@ dna4_revcomp(const char *begin, const char *end, char *dest)
return dna4_revcomp_fnptr(begin, end, dest);
}

DNA_LOCAL
DNA_CONSTRUCTOR
void
dna4_revcomp_init(void)
{
dna4_revcomp_fnptr = dna4_revcomp_select();
}

#endif

0 comments on commit d8c56ff

Please sign in to comment.