Add post_blank to the rust types.
This commit is contained in:
@@ -4,14 +4,18 @@
|
||||
macro_rules! inoop {
|
||||
($istruct:ident, $pstruct:ident) => {
|
||||
#[derive(Debug, Clone)]
|
||||
pub(crate) struct $istruct {}
|
||||
pub(crate) struct $istruct {
|
||||
pub(crate) post_blank: organic::types::PostBlank,
|
||||
}
|
||||
|
||||
impl $istruct {
|
||||
pub(crate) async fn new<'reg, 'orig, 'parse>(
|
||||
_intermediate_context: crate::intermediate::IntermediateContext<'orig, 'parse>,
|
||||
_original: &'orig organic::types::$pstruct<'parse>,
|
||||
original: &'orig organic::types::$pstruct<'parse>,
|
||||
) -> Result<$istruct, CustomError> {
|
||||
Ok($istruct {})
|
||||
Ok($istruct {
|
||||
post_blank: original.get_post_blank(),
|
||||
})
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user