Cloud-Scythe-Labs / reascript-rs

A 1:1 foreign function interface mapping of the C/C++ ReaScript API for Rust
0 stars 0 forks source link

Export a function for registering a plugin #25

Open eureka-cpu opened 1 month ago

eureka-cpu commented 1 month ago

This function https://github.com/Cloud-Scythe-Labs/reascript-rs/blob/2435722ec86ffd8e0a58d4ea8ff60e073d068a81/scripts/generate_reaper_plugin_functions.nix#L33 registers a plugin to reaper, and we have more than one place we use it. It would be nice to have it through the flake.nix as a function so that we can deduplicate it across repos.