mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-31 21:03:43 +01:00
Use custom GetPinnableReference instead of deferring it to Span (#2345)
This commit is contained in:
parent
2cd5c5bc68
commit
3e40cad063
9 changed files with 107 additions and 52 deletions
|
|
@ -69,7 +69,7 @@ public static unsafe partial class ImGuiP
|
|||
ImGuiPlotType plotType, ImU8String label, ImGui.GetFloatRefContextDelegate<TContext> valuesGetter,
|
||||
scoped in TContext context,
|
||||
int valuesCount, int valuesOffset, ImU8String overlayText, float scaleMin, float scaleMax, Vector2 frameSize)
|
||||
where TContext: allows ref struct
|
||||
where TContext : allows ref struct
|
||||
{
|
||||
fixed (byte* labelPtr = &label.GetPinnableNullTerminatedReference())
|
||||
fixed (byte* overlayTextPtr = &overlayText.GetPinnableNullTerminatedReference())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue