From bf4a5cda44d7b749ae25c7a333a2f581462e7558 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Thu, 13 Oct 2016 16:26:39 +0200 Subject: [PATCH] Export module entry path string --- libimagnotes/src/lib.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libimagnotes/src/lib.rs b/libimagnotes/src/lib.rs index 10ef952b..44460736 100644 --- a/libimagnotes/src/lib.rs +++ b/libimagnotes/src/lib.rs @@ -43,7 +43,9 @@ extern crate libimagrt; extern crate libimagentryedit; extern crate libimagentrytag; -module_entry_path_mod!("notes"); +pub static MODULE_ENTRY_PATH_NAME: &'static str = "notes"; + +module_entry_path_mod!(MODULE_ENTRY_PATH_NAME); pub mod error; pub mod note;