Closed devraymondsh closed 7 months ago
This is the process for creating the bindings, requiring only the Zig compiler without any external dependencies. Similar to the Rust version, it's likely unnecessary to generate them if the API remains stable. Remember to consistently use the master version of Zig.
cd source/metacall/include/metacall
zig translate-c metacall.h > metacall-bindings.zig -lc -I ../../../../build/source/metacall/include -I ../ -I ../../../../build/source/include
Add a basic implementation for the Zig port with proper testing