about summary refs log tree commit diff
path: root/examples
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-06-26 00:08:01 +0200
committerBaitinq <[email protected]>2025-06-26 00:13:12 +0200
commit9bbce9bdced3398b22665d0d65ca0059494c0cc7 (patch)
treecd76099ce2b86daba801361ade868d427f102731 /examples
parentboostrap: implement enough for first example to work (diff)
downloadpry-lang-9bbce9bdced3398b22665d0d65ca0059494c0cc7.tar.gz
pry-lang-9bbce9bdced3398b22665d0d65ca0059494c0cc7.tar.bz2
pry-lang-9bbce9bdced3398b22665d0d65ca0059494c0cc7.zip
boostrap: implement support for declaring extern functions
Diffstat (limited to 'examples')
-rw-r--r--examples/-1.pry2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/-1.pry b/examples/-1.pry
index 4b77e10..5093a7e 100644
--- a/examples/-1.pry
+++ b/examples/-1.pry
@@ -1,5 +1,7 @@
 /* HELLO! Welcome to the unnamed language */
 
+extern printf = (*i8, varargs) => void;
+
 let main = () => i64 {
 	return 7;
 };