We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5712b00 commit c555b8dCopy full SHA for c555b8d
src/DearImGui/Raw.hs
@@ -569,6 +569,8 @@ styleColorsClassic = liftIO do
569
begin :: (MonadIO m) => CString -> Maybe (Ptr CBool) -> Maybe (ImGuiWindowFlags) -> m Bool
570
begin namePtr (Just openPtr) (Just flags) = liftIO do
571
(0 /=) <$> [C.exp| bool { Begin($(char* namePtr), $(bool* openPtr), $(ImGuiWindowFlags flags)) } |]
572
+begin namePtr Nothing (Just flags) = liftIO do
573
+ (0 /=) <$> [C.exp| bool { Begin($(char* namePtr), NULL, $(ImGuiWindowFlags flags)) } |]
574
begin namePtr (Just openPtr) Nothing = liftIO do
575
(0 /=) <$> [C.exp| bool { Begin($(char* namePtr), $(bool* openPtr)) } |]
576
begin namePtr Nothing Nothing = liftIO do
0 commit comments