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.

添加评论
点赞收藏
点踩分享查看原文
评论
?
参与讨论