Skip to content

Commit

Permalink
Merge pull request #508 from CosmWasm/497-update-deps
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
chipshort authored Jan 25, 2024
2 parents 4eed00c + 834d468 commit 782d87b
Show file tree
Hide file tree
Showing 6 changed files with 334 additions and 360 deletions.
8 changes: 4 additions & 4 deletions internal/api/bindings.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* (c) 2019 Confio OÜ. Licensed under Apache-2.0 */

/* Generated with cbindgen:0.24.5 */
/* Generated with cbindgen:0.26.0 */

/* Warning, this file is autogenerated by cbindgen. Don't modify this manually. */

Expand Down Expand Up @@ -95,7 +95,7 @@ typedef struct ByteSliceView {
* ### Transfer ownership from Rust to Go
*
* When an `UnmanagedVector` was created in Rust using [`UnmanagedVector::new`], [`UnmanagedVector::default`]
* or [`new_unmanaged_vector`], it can be passted to Go as a return value (see e.g. [load_wasm][crate::load_wasm]).
* or [`new_unmanaged_vector`], it can be passed to Go as a return value (see e.g. [load_wasm][crate::load_wasm]).
* Rust then has no chance to destroy the vector anymore, so ownership is transferred to Go.
* In Go, the data has to be copied to a garbage collected `[]byte`. Then the vector must be destroyed
* using [`destroy_unmanaged_vector`].
Expand Down Expand Up @@ -172,7 +172,7 @@ typedef struct ByteSliceView {
* assert_eq!(mutable, vec![0xAA]);
*
* // `input` is now gone and we cam do everything we want to `mutable`,
* // including operations that reallocate the underylying data.
* // including operations that reallocate the underlying data.
*
* mutable.push(0xBB);
* mutable.push(0xCC);
Expand Down Expand Up @@ -213,7 +213,7 @@ typedef struct AnalysisReport {
*/
struct UnmanagedVector entrypoints;
/**
* An UTF-8 encoded comma separated list of reqired capabilities.
* An UTF-8 encoded comma separated list of required capabilities.
* This is never None/nil.
*/
struct UnmanagedVector required_capabilities;
Expand Down
Loading

0 comments on commit 782d87b

Please sign in to comment.