Add setup() for entry header type

This commit is contained in:
Matthias Beyer 2017-01-20 15:09:58 +01:00
parent 197f4cb6f2
commit a5f47d4b2f

View file

@ -272,6 +272,11 @@ pub mod store {
pub fn setup_entryheader() -> Class {
let mut class = Class::new("REntryHeader", None);
class.define(|itself| {
itself.def("insert", r_entry_header_insert);
itself.def("set" , r_entry_header_set);
itself.def("read" , r_entry_header_get);
});
class
}