C calling convention support for Executor
This commit is contained in:
parent
f53cb0cf9e
commit
3a8acc72a7
2 changed files with 4 additions and 1 deletions
|
|
@ -227,6 +227,8 @@ class ExecutorGenerator < Generator
|
|||
@out << ", Register<"
|
||||
handle_regcall_conv(value)
|
||||
@out << ">"
|
||||
elsif value["callconv"] == "C" then
|
||||
@out << ", callconv::CCall"
|
||||
end
|
||||
@out << ">;\n"
|
||||
end
|
||||
|
|
|
|||
|
|
@ -151,7 +151,8 @@
|
|||
}
|
||||
},
|
||||
"returnreg": { "$ref": "#/definitions/reg" },
|
||||
"comment": { "type": "string" }
|
||||
"comment": { "type": "string" },
|
||||
"callconv": { "type": "string" }
|
||||
},
|
||||
"additionalProperties": false,
|
||||
"required": [ "name" ]
|
||||
|
|
|
|||
Loading…
Reference in a new issue