mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 23:36:00 +02:00
Added error/warning panel, region support
This commit is contained in:
parent
c63edcbf87
commit
8970ebcd93
33 changed files with 454 additions and 130 deletions
|
@ -8,6 +8,7 @@ using System.Collections.Generic;
|
|||
using System.Diagnostics;
|
||||
using System.Threading;
|
||||
|
||||
#region EnumA Crapsos
|
||||
[AllowDuplicates]
|
||||
enum EnumA
|
||||
{
|
||||
|
@ -18,12 +19,35 @@ enum EnumA
|
|||
Zoop = 1
|
||||
}
|
||||
|
||||
struct StructA
|
||||
{
|
||||
public int mA;
|
||||
public int mB;
|
||||
}
|
||||
|
||||
#region Blurg
|
||||
struct Blurg
|
||||
{
|
||||
static mixin MixA(var sa2)
|
||||
{
|
||||
sa2.mA++;
|
||||
}
|
||||
|
||||
static mixin MixB(mut StructA sa2)
|
||||
{
|
||||
sa2.mA++;
|
||||
}
|
||||
|
||||
static void MethodA(mut StructA sa)
|
||||
{
|
||||
MixA!(sa);
|
||||
//MixB!(mut sa);
|
||||
}
|
||||
|
||||
public static int32 Hey()
|
||||
{
|
||||
int a = 123;
|
||||
int* aPtr = &a;
|
||||
StructA sa = .();
|
||||
sa.mA = 123
|
||||
|
||||
return (int32)123;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue