From 1c3205aa66b2a0ae5a3d7902f434cf68a9a207b1 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Fri, 20 Jan 2017 10:06:14 +0100 Subject: [PATCH] Add function to initialize the ruby extension --- imag-ruby/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/imag-ruby/src/lib.rs b/imag-ruby/src/lib.rs index fd2f8d69..0f54e98e 100644 --- a/imag-ruby/src/lib.rs +++ b/imag-ruby/src/lib.rs @@ -27,3 +27,9 @@ extern crate libimagrt; #[macro_use] extern crate libimagutil; pub mod store; + +#[no_mangle] +pub extern fn imag_ruby_initialize() { + self::store::storeid::setup(); +} +