mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Added extern method override support in extensions
This commit is contained in:
parent
1e020dc14e
commit
101fde1a4b
8 changed files with 99 additions and 35 deletions
|
@ -133,9 +133,13 @@ class LibClassA
|
|||
return 30;
|
||||
}
|
||||
|
||||
public extern int GetVal4();
|
||||
|
||||
public static LibClassA Create()
|
||||
{
|
||||
return new LibClassA();
|
||||
LibClassA ca = new LibClassA();
|
||||
Test.Assert(ca.GetVal4() == 29);
|
||||
return ca;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue