mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-22 19:47:10 +02:00
misc: Replace references to IntPtr/UIntPtr with nint/nuint + code cleanups.
This commit is contained in:
parent
a09d314817
commit
dfb4854d19
172 changed files with 902 additions and 914 deletions
|
@ -16,7 +16,7 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd
|
|||
|
||||
ProtocolType ProtocolType { get; }
|
||||
|
||||
IntPtr Handle { get; }
|
||||
nint Handle { get; }
|
||||
|
||||
LinuxError Receive(out int receiveSize, Span<byte> buffer, BsdSocketFlags flags);
|
||||
|
||||
|
|
|
@ -21,7 +21,7 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd.Impl
|
|||
|
||||
public bool Blocking { get => Socket.Blocking; set => Socket.Blocking = value; }
|
||||
|
||||
public IntPtr Handle => Socket.Handle;
|
||||
public nint Handle => Socket.Handle;
|
||||
|
||||
public IPEndPoint RemoteEndPoint => Socket.RemoteEndPoint as IPEndPoint;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue