about summary refs log tree commit diff
path: root/examples/7.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/7.src
parentExamples: Add example of interacting with 3rd party library (diff)
downloadpry-lang-2d8538557dfdd8b86879e4a7ae35749f659bcb34.tar.gz
pry-lang-2d8538557dfdd8b86879e4a7ae35749f659bcb34.tar.bz2
pry-lang-2d8538557dfdd8b86879e4a7ae35749f659bcb34.zip
Feature: Add "proper" pointer types
Diffstat (limited to 'examples/7.src')
-rw-r--r--examples/7.src2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/7.src b/examples/7.src
index fccf61b..b6c0f9b 100644
--- a/examples/7.src
+++ b/examples/7.src
@@ -1,4 +1,4 @@
-extern printf = (ptr, i64) => i64;
+extern printf = (*i64, i64) => i64;
 
 let ten = () => i64 {
 	return () => i64 {