Skip to content

Commit

Permalink
Merge pull request #1687 from Soveu/patch-1
Browse files Browse the repository at this point in the history
Update function-pointer.md for stabilization of `extended_varargs_abi_support`
  • Loading branch information
ehuss authored Nov 30, 2024
2 parents c2874f2 + 3ffbacd commit 8a0b8a4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/types/function-pointer.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,14 @@ function], and the `extern` qualifier indicates it is an [extern function].

r[type.fn-pointer.constraint-variadic]
Variadic parameters can only be specified with [`extern`] function types with
the `"C"` or `"cdecl"` calling convention.
these calling conventions:
* `C`
* `cdecl`
* `system`
* `aapcs`
* `sysv64`
* `win64`
* `efiapi`

An example where `Binop` is defined as a function pointer type:

Expand Down

0 comments on commit 8a0b8a4

Please sign in to comment.