Skip to content

Commit

Permalink
Export object_struct and object_impl macros
Browse files Browse the repository at this point in the history
  • Loading branch information
codesmythe committed Oct 16, 2015
1 parent 91790fd commit 54a15a3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/macros.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#[macro_export]
macro_rules! object_struct {
($name:ident) => (
pub struct $name {
Expand Down Expand Up @@ -41,6 +42,7 @@ macro_rules! object_struct {
);
}

#[macro_export]
macro_rules! object_impl {
($name:ident) => (
object_impl!($name,);
Expand Down

0 comments on commit 54a15a3

Please sign in to comment.