This repository has been archived on 2025-05-24. You can view files and clone it, but cannot push or open issues or pull requests.
Files
RomVault/ROMVault2/Utils/ULong.cs
2014-09-23 12:06:15 -07:00

24 lines
700 B
C#

/******************************************************
* ROMVault2 is written by Gordon J. *
* Contact gordon@romvault.com *
* Copyright 2014 *
******************************************************/
using System;
namespace ROMVault2.Utils
{
public static class ULong
{
public static int iCompare(ulong? a, ulong? b)
{
if ((a == null) || (b == null))
{
ReportError.SendAndShow("comparing null ulong? ");
return -1;
}
return Math.Sign(((ulong) a).CompareTo((ulong) b));
}
}
}