Impl Wrap for EntryContent

This commit is contained in:
Matthias Beyer 2017-01-20 15:27:25 +01:00
parent 46eb02c120
commit 003af09033
1 changed files with 6 additions and 0 deletions

View File

@ -290,6 +290,12 @@ pub mod store {
wrappable_struct!(EntryContent, EntryContentWrapper, ENTRY_CONTENT_WRAPPER); wrappable_struct!(EntryContent, EntryContentWrapper, ENTRY_CONTENT_WRAPPER);
class!(REntryContent); class!(REntryContent);
impl Wrap for EntryContent {
fn wrap(self) -> AnyObject {
Class::from_existing("REntryContent").wrap_data(self, &*ENTRY_CONTENT_WRAPPER)
}
}
wrappable_struct!(Entry, EntryWrapper, ENTRY_WRAPPER); wrappable_struct!(Entry, EntryWrapper, ENTRY_WRAPPER);
class!(REntry); class!(REntry);