WIP: pure qualifier for callback and functions

This commit is contained in:
Olivier Goffart 2022-12-14 19:23:00 +01:00 committed by Olivier Goffart
parent 8a09043e63
commit 1cbd61145e
34 changed files with 366 additions and 93 deletions

View file

@ -8,7 +8,7 @@ export MainWindow := Window {
preferred-width: 800px;
preferred-height: 600px;
callback render_plot(float /* pitch */, float /* yaw */, float /* amplitude */) -> image;
pure callback render_plot(float /* pitch */, float /* yaw */, float /* amplitude */) -> image;
property <float> pitch: 0.15;
property <float> yaw: 0.5;