mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-17 07:44:09 +02:00
Moving corlib files out of "System" directory into root
This commit is contained in:
parent
4cd58262e4
commit
7dbfd15292
179 changed files with 3 additions and 0 deletions
15
BeefLibs/corlib/src/Boolean.bf
Normal file
15
BeefLibs/corlib/src/Boolean.bf
Normal file
|
@ -0,0 +1,15 @@
|
|||
namespace System
|
||||
{
|
||||
struct Boolean : bool, IHashable
|
||||
{
|
||||
public override void ToString(String strBuffer)
|
||||
{
|
||||
strBuffer.Append(((bool)this) ? "true" : "false");
|
||||
}
|
||||
|
||||
int IHashable.GetHashCode()
|
||||
{
|
||||
return ((bool)this) ? 1 : 0;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue