Backends: avoid missing -Wmissing-declaration warning. (#8087, #7997)

This commit is contained in:
ocornut
2024-10-24 17:24:47 +02:00
parent b4033b37ad
commit a908d73c16
6 changed files with 6 additions and 0 deletions
+1
View File
@@ -261,6 +261,7 @@ static bool ImGui_ImplOSX_HandleEvent(NSEvent* event, NSView* view);
// Functions
// Not static to allow third-party code to use that if they want to (but undocumented)
ImGuiKey ImGui_ImplOSX_KeyCodeToImGuiKey(int key_code);
ImGuiKey ImGui_ImplOSX_KeyCodeToImGuiKey(int key_code)
{
switch (key_code)