Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ds5678 committed Oct 5, 2024
1 parent 0a6813a commit 0abfc38
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ private static unsafe void StoreValue(IntPtr targetPointer, IntPtr valuePointer)
private static unsafe T? WrapElement(IntPtr memberPointer)
{
if (ourElementIsValueType)
memberPointer = IL2CPP.il2cpp_value_box(Il2CppClassPointerStore<T>.NativeClassPtr, memberPointer);
else
memberPointer = IL2CPP.il2cpp_value_box(Il2CppClassPointerStore<T>.NativeClassPtr, memberPointer);
else
memberPointer = *(IntPtr*)memberPointer;

if (memberPointer == IntPtr.Zero)
Expand Down

0 comments on commit 0abfc38

Please sign in to comment.