mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
58147d486b
Add support for defining C compatible variadic functions in unsafe rust with extern "C".
5 lines
130 B
Rust
5 lines
130 B
Rust
extern "C" {
|
|
// @has variadic/fn.foo.html //pre 'pub unsafe extern "C" fn foo(x: i32, _: ...)'
|
|
pub fn foo(x: i32, ...);
|
|
}
|