From 3ffbacd9d9d6f5140e5f5f84a830807ab9fee802 Mon Sep 17 00:00:00 2001 From: Soveu Date: Fri, 29 Nov 2024 18:02:28 +0100 Subject: [PATCH] Update function-pointer.md for stabilization of extended_varargs_abi_support --- src/types/function-pointer.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/types/function-pointer.md b/src/types/function-pointer.md index 3fbe207f9..d7950b159 100644 --- a/src/types/function-pointer.md +++ b/src/types/function-pointer.md @@ -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: