Merge branch 'master' into directx-packages

This commit is contained in:
gingerBill
2022-02-16 16:04:20 +00:00
11 changed files with 94 additions and 61 deletions
+18
View File
@@ -249,12 +249,30 @@ enum ProcCallingConvention : i32 {
ProcCC_InlineAsm = 8,
ProcCC_Win64 = 9,
ProcCC_SysV = 10,
ProcCC_MAX,
ProcCC_ForeignBlockDefault = -1,
};
char const *proc_calling_convention_strings[ProcCC_MAX] = {
"",
"odin",
"contextless",
"cdecl",
"stdcall",
"fastcall",
"none",
"naked",
"inlineasm",
"win64",
"sysv",
};
ProcCallingConvention default_calling_convention(void) {
return ProcCC_Odin;
}