summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAshelyn Rose <git@ashen.earth>2024-12-24 17:43:22 -0700
committerAshelyn Rose <git@ashen.earth>2024-12-24 17:43:22 -0700
commitdb30172979436c082fc22b775cbe25673c5b1bc0 (patch)
tree93964b11927fe3debd83c5409a57cf992ed5df12 /src
parenta73ee8e7d8abcc865c9c151ef0e53bc73143dedc (diff)
Add Glk stub
Diffstat (limited to 'src')
-rw-r--r--src/glk.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/glk.rs b/src/glk.rs
index ed308f9..4d67760 100644
--- a/src/glk.rs
+++ b/src/glk.rs
@@ -1,2 +1,11 @@
+use crate::interpreter::{self, Interpreter};
+
 pub struct Glk {
 }
+
+impl Glk {
+    pub fn call_func(interpreter: &mut Interpreter, func_id: u32, arg_count: u32) {
+        println!("Calling GLK function with ID {func_id}");
+    }
+}
+