Skip to content

Commit

Permalink
Exposed private members to other ILGPU classes. (m4rs-mt#1062)
Browse files Browse the repository at this point in the history
* Changed visibility of Interop.WriteImplementation.
* Exposed Method of MethodEmitter in RuntimeSystem.
  • Loading branch information
m4rs-mt authored and MoFtZ committed Apr 24, 2024
1 parent 4ab93fa commit b920b66
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Src/ILGPU/Interop.cs
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ internal static string GetWriteLineFormat(string format)
/// </summary>
/// <param name="format">The expression format to write.</param>
/// <param name="elements">All elements to write in string format.</param>
private static void WriteImplementation(
internal static void WriteImplementation(
string format,
params string[] elements) =>
Console.Write(format, elements);
Expand Down
2 changes: 1 addition & 1 deletion Src/ILGPU/RuntimeSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public MethodEmitter(
/// <summary>
/// Returns the associated method builder.
/// </summary>
private DynamicMethod Method { get; }
internal DynamicMethod Method { get; }

/// <summary>
/// Returns the internal IL generator.
Expand Down

0 comments on commit b920b66

Please sign in to comment.