Commit 373cc86b authored by John Hodge's avatar John Hodge

Fix tests, add travis config

parent 6981bb09
language: rust
rust: nightly
rust:
- stable
- beta
- nightly
sudo: false
script:
......
......@@ -6,13 +6,14 @@
* ## Example
* ```rust
* extern crate va_list;
* use va_list::VaList;
*
* extern "C" print_ints_va(count: u32, mut args: VaList)
* extern "C" fn print_ints_va(count: u32, mut args: va_list::VaList)
* {
* for i in (0 .. count) {
* println!("{}: {}", i, args.get::<i32>());
* }
* unsafe {
* for i in (0 .. count) {
* println!("{}: {}", i, args.get::<i32>());
* }
* }
* }
* ```
*/
......
extern crate va_list;
#[link(name="va_list_test")]
extern "C" {
fn dispatch(context: *mut (), count: u32, ...);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment