aapoalas / aapoalas/denonomicon

Add C++ FFI example

未关闭
#4 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
33
派生
0
PR 合并指标
30 天内没有已合并 PR

描述

Both `extern` functions to show normal C API usage in C++, but also binding to C++ functions with name mangling and C++ APIs, like returning class instances that have nontrivial copy constructors.

贡献指南

这个仓库没有索引到贡献指南

调研方向

Look at existing FFI examples in the denonomicon repository to understand the structure. The task involves creating examples for both calling C functions from TypeScript/Deno and calling C++ functions (handling name mangling and complex types). Start by examining the Deno FFI documentation and the repository's example directory. 'Done' means adding clear, runnable code examples that demonstrate these concepts.

由索引模型根据 Issue 内容生成。

评估

技术栈
c, cpp
领域
documentation
Issue 类型
文档
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。