aboutsummaryrefslogtreecommitdiff
path: root/src/cimport.zig
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2021-09-09 00:36:04 +0700
committerNguyễn Gia Phong <mcsinyx@disroot.org>2021-09-09 00:36:04 +0700
commit5fec1072d49a159b0b3893950dcb692f6ecd5d0e (patch)
tree6d0da4bcb39b20ab8e42021a07739ae9b1b4af23 /src/cimport.zig
downloadgfz-5fec1072d49a159b0b3893950dcb692f6ecd5d0e.tar.gz
Make example in GLFW docs work
Diffstat (limited to 'src/cimport.zig')
-rw-r--r--src/cimport.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cimport.zig b/src/cimport.zig
new file mode 100644
index 0000000..6089200
--- /dev/null
+++ b/src/cimport.zig
@@ -0,0 +1 @@
+pub usingnamespace @cImport(@cInclude("GLFW/glfw3.h"));