Skip to content

Commit

Permalink
Add license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Apr 5, 2013
1 parent 89e5937 commit 25da45e
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 0 deletions.
File renamed without changes.
9 changes: 9 additions & 0 deletions geom.rc
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#[link(name = "geom",
vers = "0.1")];
#[crate_type = "lib"];
Expand Down
9 changes: 9 additions & 0 deletions matrix.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

use std::cmp::FuzzyEq;
use core::num::{NumCast, One, Zero};

Expand Down
9 changes: 9 additions & 0 deletions matrix2d.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

use core::num::{One, Zero};

pub struct Matrix2D<T> {
Expand Down
9 changes: 9 additions & 0 deletions point.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

#[deriving(Eq)]
pub struct Point2D<T> {
x: T,
Expand Down
9 changes: 9 additions & 0 deletions rect.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

use point::Point2D;
use size::Size2D;
use core::cmp::{Eq, Ord};
Expand Down
9 changes: 9 additions & 0 deletions size.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
// Copyright 2013 The Servo Project Developers. See the COPYRIGHT
// file at the top-level directory of this distribution.
//
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.

use core::cmp::Eq;

#[deriving(Eq)]
Expand Down

0 comments on commit 25da45e

Please sign in to comment.