diff options
| author | gingerBill <bill@gingerbill.org> | 2022-02-16 16:04:20 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2022-02-16 16:04:20 +0000 |
| commit | 8e8a075a2232038eb3a24e2b7b0a0b183d13b89d (patch) | |
| tree | 281af208f9cdc367ba793991c3242db94a1eb851 /src/parser.hpp | |
| parent | 65dedbb1caaa785a444d32a7a15adaf6c396b07f (diff) | |
| parent | db6bd9b358f17c0259ff5fe6411ce93407613338 (diff) | |
Merge branch 'master' into directx-packages
Diffstat (limited to 'src/parser.hpp')
| -rw-r--r-- | src/parser.hpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/parser.hpp b/src/parser.hpp index fb84210b3..83c755553 100644 --- a/src/parser.hpp +++ b/src/parser.hpp @@ -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; } |