Skip to content

Commit

Permalink
Merge branch 'ffi' into kitchensink
Browse files Browse the repository at this point in the history
  • Loading branch information
divarvel committed Oct 23, 2024
2 parents def3267 + 806b7f3 commit e11e630
Show file tree
Hide file tree
Showing 15 changed files with 476 additions and 91 deletions.
2 changes: 2 additions & 0 deletions biscuit-auth/src/capi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ pub enum ErrorKind {
FormatPublicKeyTableOverlap,
FormatUnknownExternalKey,
FormatUnknownSymbol,
FormatMissingFfiName,
AppendOnSealed,
LogicInvalidBlockRule,
LogicUnauthorized,
Expand Down Expand Up @@ -158,6 +159,7 @@ pub extern "C" fn error_kind() -> ErrorKind {
ErrorKind::FormatUnknownExternalKey
}
Token::Format(Format::UnknownSymbol(_)) => ErrorKind::FormatUnknownSymbol,
Token::Format(Format::MissingFfiName) => ErrorKind::FormatMissingFfiName,
Token::AppendOnSealed => ErrorKind::AppendOnSealed,
Token::AlreadySealed => ErrorKind::AlreadySealed,
Token::Language(_) => ErrorKind::LanguageError,
Expand Down
Loading

0 comments on commit e11e630

Please sign in to comment.