Show More
Commit Description:
More graph series.
Commit Description:
More graph series.
References:
File last commit:
Show/Diff file:
Action:
ImGui.NET/Generated/StbUndoRecord.gen.cs
28 lines | 1.2 KiB | text/x-csharp | CSharpLexer
28 lines | 1.2 KiB | text/x-csharp | CSharpLexer
r505 | using System; | |||
using System.Numerics; | ||||
using System.Runtime.CompilerServices; | ||||
using System.Text; | ||||
namespace ImGuiNET | ||||
{ | ||||
public unsafe partial struct StbUndoRecord | ||||
{ | ||||
public int where; | ||||
public int insert_length; | ||||
public int delete_length; | ||||
public int char_storage; | ||||
} | ||||
public unsafe partial struct StbUndoRecordPtr | ||||
{ | ||||
public StbUndoRecord* NativePtr { get; } | ||||
public StbUndoRecordPtr(StbUndoRecord* nativePtr) => NativePtr = nativePtr; | ||||
public StbUndoRecordPtr(IntPtr nativePtr) => NativePtr = (StbUndoRecord*)nativePtr; | ||||
public static implicit operator StbUndoRecordPtr(StbUndoRecord* nativePtr) => new StbUndoRecordPtr(nativePtr); | ||||
public static implicit operator StbUndoRecord* (StbUndoRecordPtr wrappedPtr) => wrappedPtr.NativePtr; | ||||
public static implicit operator StbUndoRecordPtr(IntPtr nativePtr) => new StbUndoRecordPtr(nativePtr); | ||||
public ref int where => ref Unsafe.AsRef<int>(&NativePtr->where); | ||||
public ref int insert_length => ref Unsafe.AsRef<int>(&NativePtr->insert_length); | ||||
public ref int delete_length => ref Unsafe.AsRef<int>(&NativePtr->delete_length); | ||||
public ref int char_storage => ref Unsafe.AsRef<int>(&NativePtr->char_storage); | ||||
} | ||||
} | ||||