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

Removing CVarAttribute

This commit is contained in:
Brian Fiete 2021-01-20 08:23:35 -08:00
parent 981e56baad
commit b5aa92ff33
3 changed files with 2 additions and 11 deletions

View file

@ -251,12 +251,6 @@ namespace System
} }
[AttributeUsage(.Method /*2*/)]
public struct CVarArgsAttribute : Attribute
{
}
[AttributeUsage(.Method /*2*/)] [AttributeUsage(.Method /*2*/)]
public struct NoReturnAttribute : Attribute public struct NoReturnAttribute : Attribute
{ {

View file

@ -804,8 +804,6 @@ void BfDefBuilder::ParseAttributes(BfAttributeDirective* attributes, BfMethodDef
methodDef->mCLink = true; methodDef->mCLink = true;
else if (typeRefName == "StdCall") else if (typeRefName == "StdCall")
methodDef->mCallingConvention = BfCallingConvention_Stdcall; methodDef->mCallingConvention = BfCallingConvention_Stdcall;
else if (typeRefName == "CVarArgs")
methodDef->mCallingConvention = BfCallingConvention_CVarArgs;
else if (typeRefName == "Inline") else if (typeRefName == "Inline")
{ {
if (methodDef->mIsExtern) if (methodDef->mIsExtern)

View file

@ -721,7 +721,6 @@ enum BfCallingConvention : uint8
BfCallingConvention_Cdecl, BfCallingConvention_Cdecl,
BfCallingConvention_Stdcall, BfCallingConvention_Stdcall,
BfCallingConvention_Fastcall, BfCallingConvention_Fastcall,
BfCallingConvention_CVarArgs,
}; };
#define BF_METHODNAME_MARKMEMBERS "GCMarkMembers" #define BF_METHODNAME_MARKMEMBERS "GCMarkMembers"