aboutsummaryrefslogtreecommitdiff
path: root/tests/glfw.amal
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2019-09-18 13:33:05 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-25 14:36:46 +0200
commitab0c5259e5a3238e176e4b1aed942f5384a2d0c6 (patch)
tree20111eefcafa13d92485ba6a0738c480f5c0c319 /tests/glfw.amal
parent7028a74894eba649beb9e1881dabaf94a29961a0 (diff)
Fix leak on parse failure
Diffstat (limited to 'tests/glfw.amal')
-rw-r--r--tests/glfw.amal2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/glfw.amal b/tests/glfw.amal
index d0f02d4..e3c2fc6 100644
--- a/tests/glfw.amal
+++ b/tests/glfw.amal
@@ -1,3 +1,5 @@
+#!/usr/bin/env amalgam
+
extern const glfwInit: fn() i32;
extern const glfwTerminate: fn() i32; // should return void....
extern const glfwCreateWindow: fn(x: i32, y: i32, title: str, monitor: usize, share: usize) usize;