Skip to content

Commit

Permalink
Fix method signature
Browse files Browse the repository at this point in the history
  • Loading branch information
kg committed Apr 24, 2024
1 parent ec93425 commit ab96e68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ internal static unsafe void Setup(char** pNames, char** pValues, int count)
}
}

internal static unsafe void Setup(char** pNames, uint** pNameLengths, char** pValues, uint** pValueLengths, int count)
internal static unsafe void Setup(char** pNames, uint* pNameLengths, char** pValues, uint* pValueLengths, int count)
{
Debug.Assert(s_dataStore == null, "s_dataStore is not expected to be inited before Setup is called");
s_dataStore = new Dictionary<string, object?>(count);
Expand Down
2 changes: 1 addition & 1 deletion src/mono/mono/metadata/appdomain.c
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ mono_runtime_install_appctx_properties (void)
combined_values + n_appctx_props, combined_value_lengths + n_appctx_props
);

/* internal static unsafe void Setup_Mono(char** pNames, uint** pNameLengths, char** pValues, uint** pValueLengths, int count) */
/* internal static unsafe void Setup(char** pNames, uint* pNameLengths, char** pValues, uint* pValueLengths, int count) */
args [0] = combined_keys;
args [1] = combined_key_lengths;
args [2] = combined_values;
Expand Down

0 comments on commit ab96e68

Please sign in to comment.