aboutsummaryrefslogtreecommitdiff
path: root/tests/callbacks.ek
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2023-09-05 18:30:01 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2023-10-31 12:30:09 +0200
commitfed864bf018e7d97fda24089ebe08fa0da1c3b97 (patch)
tree709dddea28995c58931f28a69525258129aa2fef /tests/callbacks.ek
parenta06ed46bffa94e4613052e0ddf0cb70ab32651ab (diff)
downloadek-fed864bf018e7d97fda24089ebe08fa0da1c3b97.tar.gz
ek-fed864bf018e7d97fda24089ebe08fa0da1c3b97.zip
more or less happy with syntax
Diffstat (limited to 'tests/callbacks.ek')
-rw-r--r--tests/callbacks.ek4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/callbacks.ek b/tests/callbacks.ek
index 9b9d649..6e753e0 100644
--- a/tests/callbacks.ek
+++ b/tests/callbacks.ek
@@ -1,4 +1,4 @@
-do_stuff(proc @(u32))
+do_stuff(^(u32) proc)
{
proc();
}
@@ -13,5 +13,5 @@ other_proc()
main()
{
- do_stuff(other_proc as @(u32));
+ do_stuff(other_proc as ^(u32));
}