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

lang updates #40

Closed
wants to merge 3 commits into from
Closed
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Next

core becomes std

  • Loading branch information
Jeaye
Jeaye committed May 24, 2013
commit fc4389f4866e8f5828eb6aba822b9748bbbd4702
22 gl2.rs
@@ -9,15 +9,15 @@

/* automatically generated by rust-bindgen */

use core::libc::*;
use core::libc::types::common::c99::*;
use core::cast::transmute;
use core::ptr::to_unsafe_ptr;
use core::str::{as_c_str, from_bytes};
use core::str::raw::from_c_str;
use core::sys::size_of;
use core::vec::from_elem;
use core::vec::raw::to_ptr;
use std::libc::*;
use std::libc::types::common::c99::*;
use std::cast::transmute;
use std::ptr::to_unsafe_ptr;
use std::str::{as_c_str, from_bytes};
use std::str::raw::from_c_str;
use std::sys::size_of;
use std::vec::from_elem;
use std::vec::raw::to_ptr;

// Linking
#[nolink]
@@ -1029,8 +1029,8 @@ pub fn viewport(x: GLint, y: GLint, width: GLsizei, height: GLsizei) {
#[cfg(target_os="macos")]
pub mod apple {
use super::{GLenum, GLsizei};
use core::cast::transmute;
use core::vec::raw::to_ptr;
use std::cast::transmute;
use std::vec::raw::to_ptr;

pub unsafe fn texture_range(target: GLenum, buffer: &[u8]) {
super::glTextureRangeAPPLE(target, buffer.len() as GLsizei, transmute(to_ptr(buffer)));
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.