move contents of taskchampion repo to tc/
This commit is contained in:
9
rust/lib/src/result.rs
Normal file
9
rust/lib/src/result.rs
Normal file
@@ -0,0 +1,9 @@
|
||||
/// A result from a TC operation. Typically if this value is TC_RESULT_ERROR,
|
||||
/// the associated object's `tc_.._error` method will return an error message.
|
||||
/// cbindgen:prefix-with-name
|
||||
/// cbindgen:rename-all=ScreamingSnakeCase
|
||||
#[repr(i32)]
|
||||
pub enum TCResult {
|
||||
Error = -1,
|
||||
Ok = 0,
|
||||
}
|
||||
Reference in New Issue
Block a user