mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Public ImRaii end objects
This commit is contained in:
parent
116e8aadbc
commit
8ed21b4645
1 changed files with 2 additions and 2 deletions
|
|
@ -242,7 +242,7 @@ public static partial class ImRaii
|
|||
|
||||
// Use end-function regardless of success.
|
||||
// Used by Child, Group and Tooltip.
|
||||
private struct EndUnconditionally : IEndObject
|
||||
public struct EndUnconditionally : IEndObject
|
||||
{
|
||||
private Action EndAction { get; }
|
||||
|
||||
|
|
@ -268,7 +268,7 @@ public static partial class ImRaii
|
|||
}
|
||||
|
||||
// Use end-function only on success.
|
||||
private struct EndConditionally : IEndObject
|
||||
public struct EndConditionally : IEndObject
|
||||
{
|
||||
public EndConditionally(Action endAction, bool success)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue