Creating a Nim wrapper for FMOD
Table of contents Overview Prerequisites Auto-generating the basic wrapper Fixing conversion errors – Part 1 Opaqueue C structs Circular types Unsigned integer literals Dynamic linking Fixing conversion errors — Part 2 FMOD callbacks and function pointers Missing constants Error handling helpers Improving the wrapper Conclusion Further links of interest Overview One of the many attractive things about Nim is its ability to interface with C libraries relatively easily, be they either statically linked or dynamically loaded.
评论
?
参与讨论