Add hash_of to op macro (#348)
This commit is contained in:
parent
1c9b735da6
commit
757f8c0734
1 changed files with 3 additions and 0 deletions
|
|
@ -803,6 +803,9 @@ pub mod build_utils {
|
|||
(max_of, $($arg:expr),+) => { $crate::frontend::Operation(
|
||||
$crate::middleware::OperationType::Native($crate::middleware::NativeOperation::MaxOf),
|
||||
$crate::op_args!($($arg),*), $crate::middleware::OperationAux::None) };
|
||||
(hash_of, $($arg:expr),+) => { $crate::frontend::Operation(
|
||||
$crate::middleware::OperationType::Native($crate::middleware::NativeOperation::HashOf),
|
||||
$crate::op_args!($($arg),*), $crate::middleware::OperationAux::None) };
|
||||
(custom, $op:expr, $($arg:expr),*) => { $crate::frontend::Operation(
|
||||
$crate::middleware::OperationType::Custom($op),
|
||||
$crate::op_args!($($arg),*), $crate::middleware::OperationAux::None) };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue