1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-17 07:44:09 +02:00

Fixed extension initializers and dtors. [NoExtension]. Extension warning

This commit is contained in:
Brian Fiete 2020-10-22 11:33:13 -07:00
parent 6e71cbc765
commit b6db69d2b0
15 changed files with 235 additions and 64 deletions

View file

@ -12,7 +12,17 @@ namespace LibC
extension LibClassA
{
public int32 mB = GetVal(13, "LibC.LibClassA.mB");
public int32 mB = GetVal(13, 1000, "LibC.LibClassA.mB");
public static this()
{
sMagic += 1000;
}
public ~this()
{
sMagic += 2000;
}
public this(int8 i8)
{