Skip to content

Commit

Permalink
Update function-pointer.md for stabilization of extended_varargs_abi_…
Browse files Browse the repository at this point in the history
…support
  • Loading branch information
Soveu authored Nov 29, 2024
1 parent c2874f2 commit 3ffbacd
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 3ffbacd

Please sign in to comment.