We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 02674ce + 845baee commit b33bf81Copy full SHA for b33bf81
src/items/external-blocks.md
@@ -97,13 +97,13 @@ There are also some platform-specific ABI strings:
97
## Variadic functions
98
99
Functions within external blocks may be variadic by specifying `...` as the
100
-last argument. There must be at least one parameter before the variadic
101
-parameter. The variadic parameter may optionally be specified with an
+last argument. The variadic parameter may optionally be specified with an
102
identifier.
103
104
```rust
105
extern "C" {
106
- fn foo(x: i32, ...);
+ fn foo(...);
+ fn bar(x: i32, ...);
107
fn with_name(format: *const u8, args: ...);
108
}
109
```
0 commit comments