aboutsummaryrefslogtreecommitdiff
path: root/examples/ptrs.fwd
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2025-12-29 00:07:16 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2025-12-29 00:07:16 +0200
commit90b0d817fedfa5715b195e16da67fa6bdd67638e (patch)
treede5c01884a434ffcc940be2e96474f188c95362c /examples/ptrs.fwd
parent0e0c41af58a0f4ec5a39ce77822de71e5523fcba (diff)
downloadfwd-90b0d817fedfa5715b195e16da67fa6bdd67638e.tar.gz
fwd-90b0d817fedfa5715b195e16da67fa6bdd67638e.zip
work towards a simple integer vector implementationgnc
+ Hopefully shows that useful programs can be implemented with the rules present + Still missing at least external functions with non-void returns
Diffstat (limited to 'examples/ptrs.fwd')
-rw-r--r--examples/ptrs.fwd7
1 files changed, 3 insertions, 4 deletions
diff --git a/examples/ptrs.fwd b/examples/ptrs.fwd
index a0f8aac..a1efc84 100644
--- a/examples/ptrs.fwd
+++ b/examples/ptrs.fwd
@@ -1,7 +1,6 @@
-fwd_null(auto x, () null, (&auto) ok);
-fwd_copy(auto x, (auto, auto) ok);
-fwd_println(auto x);
-fwd_intalloc((*int) ok);
+extern fwd_copy(auto x, (auto, auto) ok);
+extern fwd_println(auto x);
+extern fwd_intalloc((*int) ok);
main()
{