8122e0c542
native mod foo = "bar" ...
12 lines
216 B
Rust
12 lines
216 B
Rust
native "rust" mod rustrt {
|
|
type vbuf;
|
|
fn vec_buf[T](vec[T] v, uint offset) -> vbuf;
|
|
}
|
|
|
|
native mod libc = "libc.dylib" {
|
|
fn write(int fd, rustrt.vbuf buf, uint count) -> int;
|
|
}
|
|
|
|
fn main(vec[str] args) {
|
|
}
|