feat: add validation to include_definition macro
This commit is contained in:
@@ -10,8 +10,10 @@ pub fn execute(args: &[i32]) -> Vec<i32> {
|
||||
result.push(1);
|
||||
result.push(0); // encoding the [ bracket
|
||||
result.push(args[1] + 1);
|
||||
|
||||
result.push(0); // adding the node-type, math: 0
|
||||
result.extend_from_slice(&args[2..]);
|
||||
|
||||
result.push(1);
|
||||
result.push(1); // closing bracket
|
||||
result.push(1);
|
||||
|
||||
@@ -4,13 +4,16 @@
|
||||
],
|
||||
"inputs": {
|
||||
"0": {
|
||||
"type": "float"
|
||||
"type": "float",
|
||||
"label": false
|
||||
},
|
||||
"1": {
|
||||
"type": "float"
|
||||
"type": "float",
|
||||
"label": false
|
||||
},
|
||||
"2": {
|
||||
"type": "float"
|
||||
"type": "float",
|
||||
"label": false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user