From 90f62f1fc999b5986cec8b7dcdbc541fa6469818 Mon Sep 17 00:00:00 2001 From: Brandon Haffen Date: Fri, 2 Feb 2018 07:30:45 -0800 Subject: [PATCH] Fixed for LuaJIT C definition parser The parser was indicating there was an error because "struct" was missing --- cimgui/cimgui.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cimgui/cimgui.h b/cimgui/cimgui.h index 54d4a30..e468d51 100644 --- a/cimgui/cimgui.h +++ b/cimgui/cimgui.h @@ -361,7 +361,7 @@ struct ImGuiStyle struct ImVec2 WindowPadding; float WindowRounding; float WindowBorderSize; - ImVec2 WindowMinSize; + struct ImVec2 WindowMinSize; struct ImVec2 WindowTitleAlign; float ChildRounding; float ChildBorderSize; @@ -447,7 +447,7 @@ struct ImGuiIO bool MouseDownOwned[5]; float MouseDownDuration[5]; float MouseDownDurationPrev[5]; - ImVec2 MouseDragMaxDistanceAbs[5]; + struct ImVec2 MouseDragMaxDistanceAbs[5]; float MouseDragMaxDistanceSqr[5]; float KeysDownDuration[512]; float KeysDownDurationPrev[512];