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:
parent
7b337a98f4
commit
31214fcbaf
2 changed files with 61 additions and 59 deletions
|
@ -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)) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue