1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-20 00:50:25 +02:00

Minor changes to bring into standard style

This commit is contained in:
Brian Fiete 2020-05-06 05:31:05 -07:00
parent 7b337a98f4
commit 31214fcbaf
2 changed files with 61 additions and 59 deletions

View file

@ -50,26 +50,22 @@ namespace System
return 0;
}
[Inline]
public bool Check(uint32 major)
{
return Major == major;
}
[Inline]
public bool Check(uint32 major, uint32 minor)
{
return (Major > major) || ((Major == major) && (Minor >= minor));
}
[Inline]
public bool Check(uint32 major, uint32 minor, uint32 build)
{
return (Major > major) || ((Major == major) && (Minor > minor)) ||
((Major == major) && (Minor == minor) && (Build >= build));
}
[Inline]
public bool Check(uint32 major, uint32 minor, uint32 build, uint32 revision)
{
return (Major > major) || ((Major == major) && (Minor > minor)) ||