We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
safe
1 parent 056d4e6 commit 07d289fCopy full SHA for 07d289f
src/items/external-blocks.md
@@ -182,6 +182,10 @@ unsafe extern "C" {
182
}
183
```
184
185
+r[items.extern.variadic.safety]
186
+A variadic extern function cannot be qualified as `safe`.
187
+Passing an unexpected number of arguments or arguments of an unexpected type to a variadic function is UB.
188
+
189
r[items.extern.attributes]
190
## Attributes on extern blocks
191
0 commit comments