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; const main = fn { glfwInit(); glfwCreateWindow(50, 50, "hello, world", 0, 0); glfwTerminate(); }