aboutsummaryrefslogtreecommitdiff
path: root/src/ptr.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ptr.rs')
-rw-r--r--src/ptr.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ptr.rs b/src/ptr.rs
index 62445fd..00c74f4 100644
--- a/src/ptr.rs
+++ b/src/ptr.rs
@@ -3,4 +3,6 @@ use std::rc::Rc;
pub type TransientPtr<Interface> = Box<Interface>;
+pub type SingletonPtr<Interface> = Rc<Interface>;
+
pub type FactoryPtr<FactoryInterface> = Rc<FactoryInterface>;