1
0
Fork 0

Add a todo for standalone exit codes

This commit is contained in:
Robbert van der Helm 2023-02-19 22:09:03 +01:00
parent 6fd22b3ba9
commit 401bb95187

View file

@ -48,6 +48,8 @@ mod wrapper;
/// If the wrapped plugin fails to initialize or throws an error during audio processing, then this /// If the wrapped plugin fails to initialize or throws an error during audio processing, then this
/// function will return `false`. /// function will return `false`.
pub fn nih_export_standalone<P: Plugin>() -> bool { pub fn nih_export_standalone<P: Plugin>() -> bool {
// TODO: If the backend fails to initialize then the standalones will exit normally instead of
// with an error code. This should probably be changed.
nih_export_standalone_with_args::<P, _>(std::env::args()) nih_export_standalone_with_args::<P, _>(std::env::args())
} }