2 个仓库
Tools that generate language bindings by scanning native symbol databases and Objective-C metadata.
Distinct from C Header Binding Generators: Distinct from C Header Binding Generators: uses symbol databases rather than parsing C header files.
Explore 2 awesome GitHub repositories matching programming languages & runtimes · Objective-C Symbol Binding Generators. Refine with filters or upvote what's useful.
Darwinkit 是一个 Cgo 互操作层和原生绑定库,允许 Go 应用程序调用 Apple 框架和系统 API。它作为 Go 运行时与原生 C 兼容符号之间的桥梁,旨在促进 macOS 系统编程和原生应用程序开发。 该项目包含一个 Objective-C 绑定生成器,可扫描系统符号数据库以生成 Go 源代码和常量。该工具支持检查框架符号并管理绑定模块,以保持与原生框架的当前接口一致。 该库提供了一个内存管理系统,用于协调 Go 内部的原生对象生命周期。这涵盖了引用计数的使用、创建自动释放池以处理延迟对象,以及应用终结器以防止内存泄漏。 它还支持通过直接绑定系统调用和内核信息请求与操作系统进行直接交互。
Provides a generator that scans system symbol databases to produce Go source code and constants for native frameworks.
Rust-bindgen is a build-time foreign function interface binding generator and C header parser designed to automate cross-language interoperability. It functions as a tool to bridge Rust with C, C++, and Objective-C libraries by producing platform-specific declarations during the compilation process. The project distinguishes itself through its ability to handle complex C-family language constructs, including C++ inheritance and methods, as well as Objective-C classes and protocols. It ensures binary compatibility across different architectures by calculating target-aware memory layouts and va
Creates FFI definitions from Objective-C headers by mapping classes to structs and protocols to traits.