Comments (2)
Looking over cppreference I think all that is needed here is to move the definition into the header and mark it as inline. Then also declare the same function extern inline
in a .c file.
from libdna.
Here is a video by Dan Saks explaining how to deal with the difference in inline between C and C++: https://youtu.be/ieERUEhs910?t=2175
from libdna.
Related Issues (20)
- ARM performance optimisations HOT 2
- dna4_revcomp performance improvement HOT 1
- Build failure on ARM HOT 1
- Doesn't compile on non-x86 targets HOT 2
- release v1.1 HOT 1
- Python wrapper
- dna4_fill_random HOT 1
- std::string::resize_and_overwrite
- release v1.2 HOT 1
- release v1.3 HOT 1
- Naming inconsistency
- release v1.4
- Fix .symbol_resolver on macOS
- random string repeats after 2^30 HOT 1
- Publish documentation on Read the Docs HOT 2
- dnax_translate HOT 4
- Rust wrapper
- dna4_count_mismatches_rev HOT 2
- dnax_count_mismatches_wg HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libdna.