Added support for defining macros in Rust within the macro system
Also fixed a lot of bugs
This commit is contained in:
@@ -145,6 +145,16 @@ impl Request for ExtAtomPrint {
|
||||
type Response = FormattingUnit;
|
||||
}
|
||||
|
||||
/// Can specify the recipient of an atom as well. The main use case for this is
|
||||
/// to be able to return an atom to other extensions, so it can be combined with
|
||||
/// a [crate::Move].
|
||||
#[derive(Clone, Debug, Coding, Hierarchy)]
|
||||
#[extends(ExtHostReq)]
|
||||
pub struct CreateAtom(pub Atom, pub SysId);
|
||||
impl Request for CreateAtom {
|
||||
type Response = ExprTicket;
|
||||
}
|
||||
|
||||
/// Requests that apply to an existing atom instance
|
||||
#[derive(Clone, Debug, Coding, Hierarchy)]
|
||||
#[extends(HostExtReq)]
|
||||
|
||||
Reference in New Issue
Block a user