feat: add validation to include_definition macro

This commit is contained in:
2024-04-18 15:40:41 +02:00
parent c33e2642e1
commit e7f43020dc
27 changed files with 466 additions and 147 deletions

View File

@@ -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);

View File

@@ -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
}
}
}