Browse Source

Merge pull request #57 from Lucrecious/avoid-empty-bracket-warnings

Add void in empty brackets
Jeffery Myers 1 year ago
parent
commit
e74f86a575
1 changed files with 6 additions and 6 deletions
  1. 6 6
      rlImGui.h

+ 6 - 6
rlImGui.h

@@ -56,19 +56,19 @@ void rlImGuiSetup(bool darkTheme);
 /// Starts a new ImGui Frame
 /// Starts a new ImGui Frame
 /// Calls ImGui_ImplRaylib_NewFrame, ImGui_ImplRaylib_ProcessEvents, and ImGui::NewFrame together
 /// Calls ImGui_ImplRaylib_NewFrame, ImGui_ImplRaylib_ProcessEvents, and ImGui::NewFrame together
 /// </summary>
 /// </summary>
-void rlImGuiBegin();
+void rlImGuiBegin(void);
 
 
 /// <summary>
 /// <summary>
 /// Ends an ImGui frame and submits all ImGui drawing to raylib for processing.
 /// Ends an ImGui frame and submits all ImGui drawing to raylib for processing.
 /// Calls ImGui:Render, an d ImGui_ImplRaylib_RenderDrawData to draw to the current raylib render target
 /// Calls ImGui:Render, an d ImGui_ImplRaylib_RenderDrawData to draw to the current raylib render target
 /// </summary>
 /// </summary>
-void rlImGuiEnd();
+void rlImGuiEnd(void);
 
 
 /// <summary>
 /// <summary>
 /// Cleanup ImGui and unload font atlas
 /// Cleanup ImGui and unload font atlas
 /// Calls ImGui_ImplRaylib_Shutdown
 /// Calls ImGui_ImplRaylib_Shutdown
 /// </summary>
 /// </summary>
-void rlImGuiShutdown();
+void rlImGuiShutdown(void);
 
 
 // Advanced StartupAPI
 // Advanced StartupAPI
 
 
@@ -77,19 +77,19 @@ void rlImGuiShutdown();
 /// must be followed by rlImGuiEndInitImGui
 /// must be followed by rlImGuiEndInitImGui
 /// Called by ImGui_ImplRaylib_Init, and does the first part of setup, before fonts are rendered
 /// Called by ImGui_ImplRaylib_Init, and does the first part of setup, before fonts are rendered
 /// </summary>
 /// </summary>
-void rlImGuiBeginInitImGui();
+void rlImGuiBeginInitImGui(void);
 
 
 /// <summary>
 /// <summary>
 /// End Custom initialization. Not needed if you call rlImGuiSetup. Only needed if you want to add custom setup code.
 /// End Custom initialization. Not needed if you call rlImGuiSetup. Only needed if you want to add custom setup code.
 /// must be proceeded by rlImGuiBeginInitImGui
 /// must be proceeded by rlImGuiBeginInitImGui
 /// Called by ImGui_ImplRaylib_Init and does the second part of setup, and renders fonts.
 /// Called by ImGui_ImplRaylib_Init and does the second part of setup, and renders fonts.
 /// </summary>
 /// </summary>
-void rlImGuiEndInitImGui();
+void rlImGuiEndInitImGui(void);
 
 
 /// <summary>
 /// <summary>
 /// Forces the font texture atlas to be recomputed and re-cached
 /// Forces the font texture atlas to be recomputed and re-cached
 /// </summary>
 /// </summary>
-void rlImGuiReloadFonts();
+void rlImGuiReloadFonts(void);
 
 
 // Advanced Update API
 // Advanced Update API