mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-09-20 01:25:20 +00:00
Move solution and projects to src
This commit is contained in:
19
src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/TRef.cs
Normal file
19
src/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/TRef.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
|
||||
{
|
||||
/// <summary>
|
||||
/// Wraps a type in a class so it gets stored in the GC managed heap. This is used as communication mechanism
|
||||
/// between classed that need to be disposed and, thus, can't share their references.
|
||||
/// </summary>
|
||||
/// <typeparam name="T">The internal type.</typeparam>
|
||||
class TRef<T>
|
||||
{
|
||||
public T Value;
|
||||
|
||||
public TRef() { }
|
||||
|
||||
public TRef(T value)
|
||||
{
|
||||
Value = value;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user