mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-08 22:13:17 +00:00
Add "pure" procedure types
This commit is contained in:
@@ -2987,6 +2987,7 @@ Ast *parse_results(AstFile *f, bool *diverging) {
|
||||
ProcCallingConvention string_to_calling_convention(String s) {
|
||||
if (s == "odin") return ProcCC_Odin;
|
||||
if (s == "contextless") return ProcCC_Contextless;
|
||||
if (s == "pure") return ProcCC_Pure;
|
||||
if (s == "cdecl") return ProcCC_CDecl;
|
||||
if (s == "c") return ProcCC_CDecl;
|
||||
if (s == "stdcall") return ProcCC_StdCall;
|
||||
|
||||
Reference in New Issue
Block a user