aboutsummaryrefslogtreecommitdiff
path: root/prescheme-nim-local/ps-init.h
diff options
context:
space:
mode:
authorPjotr Prins2025-02-11 02:24:30 -0600
committerPjotr Prins2025-02-11 02:24:30 -0600
commitfd714598394a36d94846a5c2cfa1dc6a7e4bcced (patch)
tree9b89ad45f6e357de32bb0219e7b534053484675d /prescheme-nim-local/ps-init.h
parent83d5d1535754016500af6854aab26c1fbdde73d0 (diff)
downloadpresentations-fd714598394a36d94846a5c2cfa1dc6a7e4bcced.tar.gz
Add FOSDEM 2025 talk
Diffstat (limited to 'prescheme-nim-local/ps-init.h')
-rw-r--r--prescheme-nim-local/ps-init.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/prescheme-nim-local/ps-init.h b/prescheme-nim-local/ps-init.h
new file mode 100644
index 0000000..e6f56d2
--- /dev/null
+++ b/prescheme-nim-local/ps-init.h
@@ -0,0 +1,11 @@
+/*
+ * Call Pre-Scheme static initialization before main.
+ */
+__attribute__((constructor))
+void ps_init(void);
+
+/*
+ * Missing definition for open-input-file. Probably an oversight, it's
+ * defined in scheme48.h but should be in prescheme.h.
+ */
+#define NO_ERRORS 0