summaryrefslogtreecommitdiffstats
path: root/src/c.zig
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2019-10-18 14:26:20 +0000
committers-ol <s-ol@users.noreply.github.com>2019-10-18 14:26:32 +0000
commitf9bd966065755233e9bed0cf79ff4a45fa052521 (patch)
treea8dcd6dcc4ba38a04240ae5b27ccb69468b8e904 /src/c.zig
downloadzig-imgui-f9bd966065755233e9bed0cf79ff4a45fa052521.tar.gz
zig-imgui-f9bd966065755233e9bed0cf79ff4a45fa052521.zip
initial commit
Diffstat (limited to 'src/c.zig')
-rw-r--r--src/c.zig5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/c.zig b/src/c.zig
new file mode 100644
index 0000000..eeea35f
--- /dev/null
+++ b/src/c.zig
@@ -0,0 +1,5 @@
+pub usingnamespace @cImport({
+ @cDefine("CIMGUI_DEFINE_ENUMS_AND_STRUCTS", "1");
+ @cInclude("cimgui.h");
+ @cInclude("GLFW/glfw3.h");
+});