Impl Wrap for EntryContent
This commit is contained in:
parent
46eb02c120
commit
003af09033
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue