about summary refs log tree commit diff
path: root/examples/0.src
diff options
context:
space:
mode:
authorBaitinq <[email protected]>2025-03-24 23:33:26 +0100
committerBaitinq <[email protected]>2025-03-24 23:33:26 +0100
commit2d8538557dfdd8b86879e4a7ae35749f659bcb34 (patch)
tree71bbed42f1366fed99fe1a3c12efb867320231e5 /examples/0.src
parentExamples: Add example of interacting with 3rd party library (diff)
downloadinterpreter-2d8538557dfdd8b86879e4a7ae35749f659bcb34.tar.gz
interpreter-2d8538557dfdd8b86879e4a7ae35749f659bcb34.tar.bz2
interpreter-2d8538557dfdd8b86879e4a7ae35749f659bcb34.zip
Feature: Add "proper" pointer types
Diffstat (limited to 'examples/0.src')
-rw-r--r--examples/0.src1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/0.src b/examples/0.src
index 64e0b97..16a0b24 100644
--- a/examples/0.src
+++ b/examples/0.src
@@ -1,4 +1,5 @@
 /* HELLO! Welcome to the unnamed language */
+extern printf = (*i64, i64) => i64;
 
 let main = (argc: i64) => i64 {
 	printf("%d", argc);