buzz-language / buzz

👨‍🚀 buzz, A small/lightweight statically typed scripting language
https://buzz-lang.dev
MIT License
1.15k stars 31 forks source link

Defining aliases for FFI symbols #227

Open giann opened 8 months ago

giann commented 8 months ago
zdef("mylib", "fn Some_Function() void;", as: "someFunction");

The syntax is not obvious here. This would not work for multiple definition zdef statements.