Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update function-pointer.md for stabilization of extended_varargs_abi_support #1687

Merged
merged 1 commit into from
Nov 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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