taskchampion_lib/
result.rs

1#[ffizz_header::item]
2#[ffizz(order = 100)]
3/// ***** TCResult *****
4///
5/// A result from a TC operation.  Typically if this value is TC_RESULT_ERROR,
6/// the associated object's `tc_.._error` method will return an error message.
7///
8/// ```c
9/// enum TCResult
10/// #ifdef __cplusplus
11///   : int32_t
12/// #endif // __cplusplus
13/// {
14///   TC_RESULT_ERROR = -1,
15///   TC_RESULT_OK = 0,
16/// };
17/// #ifndef __cplusplus
18/// typedef int32_t TCResult;
19/// #endif // __cplusplus
20/// ```
21#[repr(i32)]
22pub enum TCResult {
23    Error = -1,
24    Ok = 0,
25}