mirror of https://github.com/ppy/SDL3-CS.git
Make `Utf8String.Raw` internal
This commit is contained in:
parent
a6838a3f9f
commit
42b32e36d5
|
|
@ -0,0 +1,6 @@
|
||||||
|
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
|
||||||
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
|
||||||
|
[assembly: InternalsVisibleTo("SDL3-CS.Tests")]
|
||||||
|
|
@ -13,7 +13,7 @@ namespace SDL
|
||||||
/// <remarks>Should only be instantiated through implicit conversions.</remarks>
|
/// <remarks>Should only be instantiated through implicit conversions.</remarks>
|
||||||
public readonly ref struct Utf8String
|
public readonly ref struct Utf8String
|
||||||
{
|
{
|
||||||
public readonly ReadOnlySpan<byte> Raw;
|
internal readonly ReadOnlySpan<byte> Raw;
|
||||||
|
|
||||||
private Utf8String(ReadOnlySpan<byte> raw)
|
private Utf8String(ReadOnlySpan<byte> raw)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue