Skip to content

Commit 54a15a3

Browse files
committed
Export object_struct and object_impl macros
1 parent 91790fd commit 54a15a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/macros.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#[macro_export]
12
macro_rules! object_struct {
23
($name:ident) => (
34
pub struct $name {
@@ -41,6 +42,7 @@ macro_rules! object_struct {
4142
);
4243
}
4344

45+
#[macro_export]
4446
macro_rules! object_impl {
4547
($name:ident) => (
4648
object_impl!($name,);

0 commit comments

Comments
 (0)