added instructions

This commit is contained in:
2024-12-18 23:06:51 +01:00
parent 8182e70ca4
commit 1c67eaa3a2
6 changed files with 33 additions and 10 deletions
+5
View File
@@ -12,6 +12,11 @@ macro_rules! check_expr {
}
#[macro_export]
macro_rules! parse_rsx_param {
($elem:expr, @ $($i:ident)::+($($inner:tt)*) $($rest:tt)*) => {
$elem.instructions.push($($i)::+($($inner)*));
osui::parse_rsx_param!($elem, $($rest)*);
};
($elem:expr, static $text:expr) => {
$elem.children.set_static_force(format!($text))
};