mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-26 15:34:59 -07:00
Merge branch 'master' into directx-packages
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user