2011-06-15 13:19:50 -05:00
|
|
|
|
|
|
|
|
2011-02-01 12:40:04 -06:00
|
|
|
native "rust" mod rustrt {
|
2011-08-12 12:40:25 -05:00
|
|
|
type sbuf;
|
|
|
|
fn str_buf(s: str) -> sbuf;
|
2011-02-01 12:40:04 -06:00
|
|
|
}
|
|
|
|
|
2011-06-28 07:21:13 -05:00
|
|
|
native "rust" mod bar = "" { }
|
2011-02-23 13:06:37 -06:00
|
|
|
|
2011-06-28 07:21:13 -05:00
|
|
|
native "cdecl" mod zed = "" { }
|
2011-02-23 13:06:37 -06:00
|
|
|
|
2011-06-28 07:21:13 -05:00
|
|
|
native "cdecl" mod libc = "" {
|
2011-08-12 12:40:25 -05:00
|
|
|
fn write(fd: int, buf: *u8, count: uint) -> int;
|
2011-02-07 11:46:28 -06:00
|
|
|
}
|
|
|
|
|
2011-06-28 07:21:13 -05:00
|
|
|
native "cdecl" mod baz = "" { }
|
2011-02-23 13:06:37 -06:00
|
|
|
|
2011-08-10 11:27:22 -05:00
|
|
|
fn main(args: [str]) { }
|