-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto update with latest AS Release v94.3.0 (#76)
* Updates Package.swift with v94.3.0 release * Version 94.3.0 Co-authored-by: Firefox Sync Engineering <sync-team@mozilla.com>
- Loading branch information
1 parent
c45cd48
commit 0470b9f
Showing
28 changed files
with
5,200 additions
and
3,884 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
// This file was autogenerated by some hot garbage in the `uniffi` crate. | ||
// Trust me, you don't want to mess with it! | ||
|
||
#pragma once | ||
|
||
#include <stdbool.h> | ||
#include <stdint.h> | ||
|
||
// The following structs are used to implement the lowest level | ||
// of the FFI, and thus useful to multiple uniffied crates. | ||
// We ensure they are declared exactly once, with a header guard, UNIFFI_SHARED_H. | ||
#ifdef UNIFFI_SHARED_H | ||
// We also try to prevent mixing versions of shared uniffi header structs. | ||
// If you add anything to the #else block, you must increment the version suffix in UNIFFI_SHARED_HEADER_V4 | ||
#ifndef UNIFFI_SHARED_HEADER_V4 | ||
#error Combining helper code from multiple versions of uniffi is not supported | ||
#endif // ndef UNIFFI_SHARED_HEADER_V4 | ||
#else | ||
#define UNIFFI_SHARED_H | ||
#define UNIFFI_SHARED_HEADER_V4 | ||
// ⚠️ Attention: If you change this #else block (ending in `#endif // def UNIFFI_SHARED_H`) you *must* ⚠️ | ||
// ⚠️ increment the version suffix in all instances of UNIFFI_SHARED_HEADER_V4 in this file. ⚠️ | ||
|
||
typedef struct RustBuffer | ||
{ | ||
int32_t capacity; | ||
int32_t len; | ||
uint8_t *_Nullable data; | ||
} RustBuffer; | ||
|
||
typedef int32_t (*ForeignCallback)(uint64_t, int32_t, RustBuffer, RustBuffer *_Nonnull); | ||
|
||
typedef struct ForeignBytes | ||
{ | ||
int32_t len; | ||
const uint8_t *_Nullable data; | ||
} ForeignBytes; | ||
|
||
// Error definitions | ||
typedef struct RustCallStatus { | ||
int8_t code; | ||
RustBuffer errorBuf; | ||
} RustCallStatus; | ||
|
||
// ⚠️ Attention: If you change this #else block (ending in `#endif // def UNIFFI_SHARED_H`) you *must* ⚠️ | ||
// ⚠️ increment the version suffix in all instances of UNIFFI_SHARED_HEADER_V4 in this file. ⚠️ | ||
#endif // def UNIFFI_SHARED_H | ||
|
||
void ffi_errorsupport_b986_ApplicationErrorReporter_init_callback( | ||
ForeignCallback _Nonnull callback_stub, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
void errorsupport_b986_set_application_error_reporter( | ||
uint64_t error_reporter, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer ffi_errorsupport_b986_rustbuffer_alloc( | ||
int32_t size, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer ffi_errorsupport_b986_rustbuffer_from_bytes( | ||
ForeignBytes bytes, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
void ffi_errorsupport_b986_rustbuffer_free( | ||
RustBuffer buf, | ||
RustCallStatus *_Nonnull out_status | ||
); | ||
RustBuffer ffi_errorsupport_b986_rustbuffer_reserve( | ||
RustBuffer buf,int32_t additional, | ||
RustCallStatus *_Nonnull out_status | ||
); |
Oops, something went wrong.