some polish on strings
This commit is contained in:
10
lib/src/result.rs
Normal file
10
lib/src/result.rs
Normal 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,
|
||||
}
|
||||
Reference in New Issue
Block a user