mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
cgen: add a [_fastcall]
fn attribute (#14016)
This commit is contained in:
parent
a810fbb80e
commit
6718958058
@ -2150,6 +2150,9 @@ fn (mut g Gen) write_fn_attrs(attrs []ast.Attr) string {
|
||||
// prefixed by windows to indicate they're for advanced users only and not really supported by V.
|
||||
fn_attrs += '__stdcall '
|
||||
}
|
||||
'_fastcall' {
|
||||
fn_attrs += '__fastcall '
|
||||
}
|
||||
'console' {
|
||||
g.force_main_console = true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user