X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=src%2Fcommon.rs;h=6f000d8762abffc8410b016da5ae28b20c39aa2f;hb=787dbfb4e03fdc6c6cfdb153e0e8fab2eb3ab2d1;hp=f3b3373fcf4c553018cce9926aac751f3fe8f26e;hpb=95e3e10de390930a0f26317dae544f4a2c1bda2e;p=kaka%2Frust-sdl-test.git diff --git a/src/common.rs b/src/common.rs index f3b3373..6f000d8 100644 --- a/src/common.rs +++ b/src/common.rs @@ -1,5 +1,6 @@ use std::ops::{Add, AddAssign}; +#[macro_export] macro_rules! point { ( $x:expr, $y:expr ) => { Point2D { x:$x, y:$y } }; }