Add setup() for entry header type
This commit is contained in:
parent
197f4cb6f2
commit
a5f47d4b2f
1 changed files with 5 additions and 0 deletions
|
@ -272,6 +272,11 @@ pub mod store {
|
||||||
|
|
||||||
pub fn setup_entryheader() -> Class {
|
pub fn setup_entryheader() -> Class {
|
||||||
let mut class = Class::new("REntryHeader", None);
|
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
|
class
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue