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

Add macros for wrapping bindgen methods #6

Closed eureka-cpu closed 5 months ago

eureka-cpu commented 5 months ago

Ref #2 since this doesn't fully close it and doesn't exactly make the code any more pragmatic than doing it all manually.

This should do the trick for now, but in the mean time I'll be looking into proc macros. Having this one around may come in handy as well.