alisomay / libpd-rs

Safe rust abstractions over libpd.
Other
82 stars 4 forks source link

Add functionality to evaluate strings as patches. #12

Closed alisomay closed 2 years ago

alisomay commented 2 years ago

This can be done with writing a temporary file the easiest way. https://docs.rs/tempfile/latest/tempfile/ The PatchFileHandle can be made a struct with an optional field which may hold a reference to the temp dir or file and lives until we close it.