speech-dispatcher-rs/speech-dispatcher/src
Malloc Voidstar 7d3edccdda
Convert all bool-returns to Results
Additionally:
* Make open2 fallible too
* Use a Result the entire time in open and open2, instead of going from Option to Result
* Specify c_int instead of i32 since apparently the size "may differ on some esoteric systems"; I suspect it won't compile on whatever those are but might as well improve the situation
* Avoid a maybe-possible panic in get_voice_type. Probably can't happen but I'm not 100% certain, so I made it fallible
* Add a missing null check to get_language
2021-12-06 10:57:04 -08:00
..
lib.rs Convert all bool-returns to Results 2021-12-06 10:57:04 -08:00