We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
static void SwapFirstLastInt32(ref Int32[] array);
Should not result in
public static func swapFirstLastInt32(_ array: [Swift.Int32]) throws {
The parameter should be inout.
inout
The text was updated successfully, but these errors were encountered:
Related docs: https://learn.microsoft.com/en-us/uwp/winrt-cref/winmd-files#array-parameters
Sorry, something went wrong.
We should project "fill" arrays as UnsafeMutableBufferPointer<T> as that allows the caller to enforce a fixed size and the callee to write values.
UnsafeMutableBufferPointer<T>
No branches or pull requests
Should not result in
The parameter should be
inout
.The text was updated successfully, but these errors were encountered: