some polish on strings

This commit is contained in:
Dustin J. Mitchell
2022-01-25 23:29:52 +00:00
parent ca0279a73f
commit 0d68e65354
8 changed files with 100 additions and 29 deletions

10
lib/src/result.rs Normal file
View File

@@ -0,0 +1,10 @@
/// A result combines a boolean success value with
/// an error response. It is equivalent to `Result<bool, ()>`.
/// cbindgen:prefix-with-name
/// cbindgen:rename-all=ScreamingSnakeCase
#[repr(C)]
pub enum TCResult {
True,
False,
Error,
}