mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-23 10:08:00 +02:00
Added CallingConvention support, mangle specifying
This commit is contained in:
parent
904f907f1d
commit
61d9edea83
26 changed files with 413 additions and 96 deletions
|
@ -5,11 +5,26 @@ using System.Diagnostics;
|
|||
using System.Threading;
|
||||
using System.Collections;
|
||||
|
||||
[Obsolete("This is old", false)]
|
||||
class Bloops
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
struct Blurg
|
||||
{
|
||||
[LinkName(.Empty)]
|
||||
public static void Hello()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
[CallingConvention(.Cdecl)]
|
||||
public static void Hey()
|
||||
{
|
||||
|
||||
Hello();
|
||||
|
||||
//int a = LinkNameAttribute(.);
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -19,6 +34,8 @@ struct StructA
|
|||
public int mA = 99;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*namespace System
|
||||
{
|
||||
extension String
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue