Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update for language changes #10

Merged
merged 2 commits into from May 2, 2013
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -16,7 +16,7 @@ use core::libc::*;
use core::ptr::{null, to_unsafe_ptr};
use core::str::to_bytes;
use core::task::local_data::{local_data_get, local_data_set};
use core::cast::reinterpret_cast;
use core::cast::transmute;
use core::vec::raw::to_ptr;

/* FIXME: global variable glutStrokeRoman */
@@ -63,7 +63,7 @@ pub fn init() {
let argc = 0 as c_int;
let command = to_bytes(~"glut");
let argv: (*u8, *u8) = (to_ptr(command), null());
let argv_p = reinterpret_cast(&to_unsafe_ptr(&argv));
let argv_p = transmute(to_unsafe_ptr(&argv));

glutInit(to_unsafe_ptr(&argc), argv_p);

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.