Skip to content
New issue

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

Converted Java array-style ref/out/return values into ref/out parameters in .NET (Fixes #57) #61

Merged
merged 19 commits into from
Nov 23, 2023

Conversation

NightOwl888
Copy link
Owner

Fixes #57.

…ed fixed length state parameter to ref byte state0 and ref byte state1 (see #57)
…arseSingleID() + ParseGlobalFilter()): Changed pos parameter from int[] to ref int (see #57)
…: Changed withParens parameter from int[] to ref int (see #57). Note that this could be cleaned up further (separate input and output parameters), but since it is in an internal type there is no need.
…Changed globalFilter parameter from UnicodeSet[] to out UnicodeSet (see #57)
…CU4N.Text.Collator::GetFunctionalEquivalent(): Changed isAvailable parameter from bool[] to out bool (see #57)
…o parameter from bool[] to out bool. There is already an overload that allows omitting the inBlockZero parameter. See #57.
…ring array parameter to out parameters for language, script, and region (see #57)
…"fields" parameter from an int[] to individual out parameters for year, month, dayOfMonth, dayOfWeek, dayOfYear, and millisecondOfDay and changed return value to void
…t parameters and eliminated extra array member variable (see #57)
@NightOwl888 NightOwl888 merged commit 2afe428 into main Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant