mozilla/rust — pull request #4263 by ejholmes (2012-12-23 08:07:13+00:00)
Title: Fix example in FFI tutorial.

These changes were necessary to get this example to compile. Not sure how to get command line args now, since `fn main(args: ~[~str])` produces the following compiler error:

```
main.rs:21:0: 23:1 error: Wrong type in main function: found `fn(~[~str])`, expected `fn() -> ()`
```