Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
280 changes: 280 additions & 0 deletions ffi/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions ffi/MIGRATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## Unreleased

- `Vec<T>`, `PathBuf`, `SocketAddr`, and `url::Url` map, so a struct or enum whose
fields were refused only for them is a value now, not an object: moq-tokio's
`listen::Bind` is the C enum `moq_listen_bind`, freed with `moq_listen_bind_free(&b)`,
not a handle. An item that clashes with the new names `<prefix>_socket_addr`,
`<prefix>_url`, or a `<prefix>_vec_<T>` takes a `rename`.

- Each `pub` field of an object exports a setter, `<type>_set_<field>`, so a method
named `set_<field>` on the same type, such as `Limit::set_max` beside `pub max`,
clashes with it: give the method another name with a `rename`.
Expand Down
Loading