Skip to content

Commit

Permalink
Follow-Up: Make fields private.
Browse files Browse the repository at this point in the history
  • Loading branch information
kpreisser committed Jun 27, 2024
1 parent 1baabf1 commit 58c7f84
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Value.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ internal static class AnyRefExtensions
{
public static bool IsNull(this in AnyRef anyref)
{
// This code originates from macro "wasmtime_anyref_is_null" in `val.h`.
// This code originates from inline function "wasmtime_anyref_is_null" in `val.h`.
return anyref.store == 0;
}
}
Expand All @@ -74,7 +74,7 @@ internal static class ExternRefExtensions
{
public static bool IsNull(this in ExternRef externref)
{
// This code originates from macro "wasmtime_externref_is_null" in `val.h`.
// This code originates from inline function "wasmtime_externref_is_null" in `val.h`.
return externref.store == 0;
}
}
Expand All @@ -83,7 +83,7 @@ internal static class ExternFuncExtensions
{
public static bool IsNull(this in ExternFunc externfunc)
{
// This code originates from macro "wasmtime_funcref_is_null" in `val.h`.
// This code originates from inline function "wasmtime_funcref_is_null" in `val.h`.
return externfunc.store == 0;
}
}
Expand Down Expand Up @@ -514,18 +514,18 @@ internal struct AnyRef
{
public ulong store;

public uint __private1;
private uint __private1;

public uint __private2;
private uint __private2;
}

[StructLayout(LayoutKind.Sequential)]
internal struct ExternRef
{
public ulong store;

public uint __private1;
private uint __private1;

public uint __private2;
private uint __private2;
}
}

0 comments on commit 58c7f84

Please sign in to comment.