Skip to content

Commit

Permalink
Removing SNIPS_RESULT enum
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyray committed Mar 17, 2020
1 parent 51f1167 commit 64fa01a
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions ffi-convert/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,6 @@ use crate::conversions::*;
use crate::convert_to_c_string_result;
use crate::create_rust_string_from;

/// Used as a return type for functions that can encounter errors
#[repr(C)]
#[derive(Debug)]
#[allow(non_camel_case_types)]
pub enum SNIPS_RESULT {
/// The function returned successfully
SNIPS_RESULT_OK = 0,
/// The function encountered an error, you can retrieve it using the dedicated function
SNIPS_RESULT_KO = 1,
}

/// A utility type to represent arrays of string
/// # Example
///
Expand Down

0 comments on commit 64fa01a

Please sign in to comment.