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

View File

@@ -311,6 +311,7 @@ static void ImGui_ImplAllegro5_SetClipboardText(ImGuiContext*, const char* text)
#endif
// Not static to allow third-party code to use that if they want to (but undocumented)
ImGuiKey ImGui_ImplAllegro5_KeyCodeToImGuiKey(int key_code);
ImGuiKey ImGui_ImplAllegro5_KeyCodeToImGuiKey(int key_code)
{
switch (key_code)