]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/keycode.h
Always return from non-void functions
[dragonfireclient.git] / src / keycode.h
index 614f2e584ca45aac937710f786d0219122fb27d5..300682b121d7fded978b9638bdfebde227b46bfe 100644 (file)
@@ -24,10 +24,13 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #include <string>
 
 irr::EKEY_CODE keyname_to_keycode(const char *name);
+std::string keycode_to_keyname(s32 keycode);
 
 // Key configuration getter
 irr::EKEY_CODE getKeySetting(const char *settingname);
-std::string keycode_to_keyname(s32 keycode);
-void clearCache();
+
+// Clear fast lookup cache
+void clearKeyCache();
+
 #endif